diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-24T00·36+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-24T01·13+0100 |
commit | 06d7b4aebd9e4a1a87f77fe59a8c08392318be5d (patch) | |
tree | 264bfbef18b5b93596d6eb805fc9e5647ddadb4b /third_party/nix/src/libutil/util.hh | |
parent | 10481d25861f1c25b53cfbd8119199ef2e918f9f (diff) |
refactor(3p/nix/libutil): Replace chomp() with absl::strings r/835
Diffstat (limited to 'third_party/nix/src/libutil/util.hh')
-rw-r--r-- | third_party/nix/src/libutil/util.hh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/third_party/nix/src/libutil/util.hh b/third_party/nix/src/libutil/util.hh index 5ce12f2ede43..3c8d4bd70c06 100644 --- a/third_party/nix/src/libutil/util.hh +++ b/third_party/nix/src/libutil/util.hh @@ -324,9 +324,6 @@ MakeError(Interrupted, BaseError) string concatStringsSep(const string& sep, const Strings& ss); string concatStringsSep(const string& sep, const StringSet& ss); -/* Remove trailing whitespace from a string. */ -string chomp(const string& s); - /* Remove whitespace from the start and end of a string. */ string trim(const string& s, const string& whitespace = " \n\r\t"); |