Drop some recently added trailing whitespace

This commit is contained in:
Tomas Janousek 2021-04-05 21:24:43 +01:00
parent a668b0f13a
commit 78b6df0e69
2 changed files with 3 additions and 3 deletions

View File

@ -299,7 +299,7 @@
* `XMonad.Hooks.DynamicLog`
- Added `xmobarProp`, for property-based alternative to `xmobar`.
- Add the -dock argument to the dzen spawn arguments
- The API for this module is frozen: this is now a compatibility wrapper.
@ -531,7 +531,7 @@
* `XMonad.Layout.Renamed`
- Added `KeepWordsLeft` and `KeepWordsRight` for keeping certain number of
- Added `KeepWordsLeft` and `KeepWordsRight` for keeping certain number of
words in left or right direction in layout description.
## 0.16

View File

@ -61,7 +61,7 @@ apply (CutLeft i) s = drop i s
apply (CutRight i) s = take (length s - i) s
apply (CutWordsLeft i) s = unwords $ drop i $ words s
apply (CutWordsRight i) s = let ws = words s
in unwords $ take (length ws - i) ws
in unwords $ take (length ws - i) ws
apply (KeepWordsLeft i) s = unwords $ take i $ words s
apply (KeepWordsRight i) s = let ws = words s
in unwords $ drop (length ws - i) ws