aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2023-05-09 12:45:51 -0400
committerGitHub <noreply@github.com>2023-05-09 12:45:51 -0400
commitd3c125e5a8ab8ffa1a1ed614b1e174f5670a881c (patch)
tree5318719a49dfe8f38de733447065b06c16519dca /src/libstore
parent6513f4fe92726baf2300448762c99733f6fe132a (diff)
Apply suggestions from code review
Thanks! Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/content-address.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/content-address.hh b/src/libstore/content-address.hh
index 9986d387f..4183ac1e7 100644
--- a/src/libstore/content-address.hh
+++ b/src/libstore/content-address.hh
@@ -78,8 +78,8 @@ struct ContentAddressMethod
/**
- * Parse and pretty print the algorithm which indicates how the files
- * were ingested, with the the fixed output case not prefixed for back
+ * Parse the prefix tag which indicates how the files
+ * were ingested, with the fixed output case not prefixed for back
* compat.
*/
static ContentAddressMethod parsePrefix(std::string_view & m);
@@ -273,9 +273,9 @@ struct ContentAddressWithReferences
/**
* Create a `ContentAddressWithReferences` from a mere
- * `ContentAddress`, by assuming no references in all cases.
+ * `ContentAddress`, by claiming no references.
*/
- static ContentAddressWithReferences withoutRefs(const ContentAddress &);
+ static ContentAddressWithReferences withoutRefs(const ContentAddress &) noexcept;
/**
* Create a `ContentAddressWithReferences` from 3 parts: