mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
Remove trailing whitespace
This commit is contained in:
parent
8d4268d190
commit
40608342cb
3 changed files with 5 additions and 5 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue