1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

Remove trailing whitespace

This commit is contained in:
Eelco Dolstra 2021-01-21 00:49:29 +01:00
parent 8d4268d190
commit 40608342cb
3 changed files with 5 additions and 5 deletions

View file

@ -373,8 +373,9 @@ template<class C> Strings quoteStrings(const C & c)
}
/* Remove trailing whitespace from a string. */
string chomp(const string & s);
/* Remove trailing whitespace from a string. FIXME: return
std::string_view. */
string chomp(std::string_view s);
/* Remove whitespace from the start and end of a string. */