Apply suggestions from code review

Thanks!

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
John Ericson 2023-05-09 12:45:51 -04:00 committed by GitHub
parent 6513f4fe92
commit d3c125e5a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: