aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/split.hh
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2020-09-17 17:38:25 +0200
committerRobert Hensing <robert@roberthensing.nl>2020-09-17 20:21:04 +0200
commit3f93bc0d39661af52466a316a3daf2e49165755e (patch)
treec7cbc9f35530d9fbf6e03e9ae689dcfa0f82aa1b /src/libutil/split.hh
parent649d3aaf2481b928120b6ce77d68b1b7c68f69e6 (diff)
Typo
Diffstat (limited to 'src/libutil/split.hh')
-rw-r--r--src/libutil/split.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/split.hh b/src/libutil/split.hh
index d19d7d8ed..87a23b13e 100644
--- a/src/libutil/split.hh
+++ b/src/libutil/split.hh
@@ -9,7 +9,7 @@ namespace nix {
// If `separator` is found, we return the portion of the string before the
// separator, and modify the string argument to contain only the part after the
-// separator. Otherwise, wer return `std::nullopt`, and we leave the argument
+// separator. Otherwise, we return `std::nullopt`, and we leave the argument
// string alone.
static inline std::optional<std::string_view> splitPrefixTo(std::string_view & string, char separator) {
auto sepInstance = string.find(separator);