From bf22cea01471f0e95fd7ecbb6288fb7c4e3f7d8f Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Fri, 30 Dec 2022 12:59:11 +0100 Subject: [PATCH] cob: Fix typos Signed-off-by: Alexis Sellier --- radicle/src/cob/patch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle/src/cob/patch.rs b/radicle/src/cob/patch.rs index b5468bdc..11f09fb3 100644 --- a/radicle/src/cob/patch.rs +++ b/radicle/src/cob/patch.rs @@ -795,12 +795,12 @@ impl<'a> Patches<'a> { Ok(PatchMut::new(id, patch, clock, self)) } - /// Get an issue. + /// Get a patch. pub fn get(&self, id: &ObjectId) -> Result, store::Error> { self.raw.get(id).map(|r| r.map(|(p, _)| p)) } - /// Get an issue mutably. + /// Get a patch mutably. pub fn get_mut<'g>(&'g mut self, id: &ObjectId) -> Result, store::Error> { let (patch, clock) = self .raw