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 | edac2eb5a901f1210f2a818bff5d26112a40087c (diff) |
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 077dbbd10..675f46a9f 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 51af1474b..8341f142f 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(); |