git-ref-format: fix typo in documentation

Fixes small typo in documentation of `and` function.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
Fintan Halpenny
2022-11-18 10:49:22 +00:00
parent cf1594cf43
commit a4fc3db933
+1 -1
View File
@@ -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<R>(self, other: R) -> Self
where
R: AsRef<RefStr>,