aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Quick <kquick@galois.com>2020-09-27 13:04:06 -0700
committerGitHub <noreply@github.com>2020-09-27 20:04:06 +0000
commit5885b0cfd878b4b60556c5b03bbe52244d04191a (patch)
tree10152fdb1ea08f427982c1fc0e5965e7b12f3496 /src
parent8b4a542d1767e0df7b3c0902b766f34352cb0958 (diff)
Miscellaneous spelling fixes in comments. (#4071)
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/flake/flake.cc2
-rw-r--r--src/libfetchers/fetchers.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc
index 760ed1a6e..b4ede542c 100644
--- a/src/libexpr/flake/flake.cc
+++ b/src/libexpr/flake/flake.cc
@@ -247,7 +247,7 @@ Flake getFlake(EvalState & state, const FlakeRef & originalRef, bool allowLookup
}
/* Compute an in-memory lock file for the specified top-level flake,
- and optionally write it to file, it the flake is writable. */
+ and optionally write it to file, if the flake is writable. */
LockedFlake lockFlake(
EvalState & state,
const FlakeRef & topRef,
diff --git a/src/libfetchers/fetchers.hh b/src/libfetchers/fetchers.hh
index 89b1e6e7d..191e91978 100644
--- a/src/libfetchers/fetchers.hh
+++ b/src/libfetchers/fetchers.hh
@@ -73,7 +73,7 @@ public:
StorePath computeStorePath(Store & store) const;
- // Convience functions for common attributes.
+ // Convenience functions for common attributes.
std::string getType() const;
std::optional<Hash> getNarHash() const;
std::optional<std::string> getRef() const;