diff options
| author | Kian-Meng Ang <kianmeng.ang@gmail.com> | 2022-06-10 22:37:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-10 23:37:55 +0900 |
| commit | 16b53aa52f73e5ee7383889dc7a422d27be22ef0 (patch) | |
| tree | 4f7bded9ba5334fc97786ec13d2a5baebbd91503 /default-plugins | |
| parent | add(ci/makefile): run clippy on all features (#1479) (diff) | |
| download | sl0ppij-16b53aa52f73e5ee7383889dc7a422d27be22ef0.tar.gz sl0ppij-16b53aa52f73e5ee7383889dc7a422d27be22ef0.tar.xz sl0ppij-16b53aa52f73e5ee7383889dc7a422d27be22ef0.zip | |
docs: fix typos (#1481)
Diffstat (limited to 'default-plugins')
| -rw-r--r-- | default-plugins/compact-bar/src/line.rs | 2 | ||||
| -rw-r--r-- | default-plugins/tab-bar/src/line.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/default-plugins/compact-bar/src/line.rs b/default-plugins/compact-bar/src/line.rs index 077dbbd1..675f46a9 100644 --- a/default-plugins/compact-bar/src/line.rs +++ b/default-plugins/compact-bar/src/line.rs @@ -68,7 +68,7 @@ fn populate_tabs_in_tab_line( let left_fits = size_by_adding_left <= cols; let right_fits = size_by_adding_right <= cols; // active tab is kept in the middle by adding to the side that - // has less width, or if the tab on the other side doesn' fit + // has less width, or if the tab on the other side doesn't fit if (total_left <= total_right || !right_fits) && left_fits { // add left tab let tab = tabs_before_active.pop().unwrap(); diff --git a/default-plugins/tab-bar/src/line.rs b/default-plugins/tab-bar/src/line.rs index 51af1474..8341f142 100644 --- a/default-plugins/tab-bar/src/line.rs +++ b/default-plugins/tab-bar/src/line.rs @@ -68,7 +68,7 @@ fn populate_tabs_in_tab_line( let left_fits = size_by_adding_left <= cols; let right_fits = size_by_adding_right <= cols; // active tab is kept in the middle by adding to the side that - // has less width, or if the tab on the other side doesn' fit + // has less width, or if the tab on the other side doesn't fit if (total_left <= total_right || !right_fits) && left_fits { // add left tab let tab = tabs_before_active.pop().unwrap(); |
