aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-04 11:14:19 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-04 11:14:19 +0200
commit0f44b60e6dc999697bf9f2a4b3652a0551016598 (patch)
treebce14b1fde0610fe36dd8c3c6e75e26dcb25135c /src/libutil/util.hh
parent61e3d598b67290ca66f34fcac7b7373f506240da (diff)
Make 'nix dev-shell' a deprecated alias for 'nix develop'
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index a63ee05b3..4b117f9bc 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -459,8 +459,7 @@ string base64Encode(const string & s);
string base64Decode(const string & s);
-/* Get a value for the specified key from an associate container, or a
- default value if the key doesn't exist. */
+/* Get a value for the specified key from an associate container. */
template <class T>
std::optional<typename T::mapped_type> get(const T & map, const typename T::key_type & key)
{