From a4fc3db933740da865d5c4def9528f7915f03614 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Wed, 16 Nov 2022 10:28:16 +0000 Subject: [PATCH] git-ref-format: fix typo in documentation Fixes small typo in documentation of `and` function. Signed-off-by: Fintan Halpenny X-Clacks-Overhead: GNU Terry Pratchett --- git-ref-format/core/src/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-ref-format/core/src/name.rs b/git-ref-format/core/src/name.rs index e3b8673..34ee6bc 100644 --- a/git-ref-format/core/src/name.rs +++ b/git-ref-format/core/src/name.rs @@ -309,7 +309,7 @@ impl RefString { /// /// This is a consuming version of [`RefString::push`] which can be chained. /// Prefer this over chaining calls to [`RefStr::join`] if the - /// intermediate values are not neede. + /// intermediate values are not needed. pub fn and(self, other: R) -> Self where R: AsRef,