diff --git a/crates/fj-kernel/src/partial/wrapper.rs b/crates/fj-kernel/src/partial/wrapper.rs index 10813e4ff..5effa6bb3 100644 --- a/crates/fj-kernel/src/partial/wrapper.rs +++ b/crates/fj-kernel/src/partial/wrapper.rs @@ -76,7 +76,7 @@ impl Partial { /// # Panics /// /// Panics, if this method is called while the return value from a previous - /// call is still borrowed. + /// call to this method of [`Self::read`] is still borrowed. pub fn write(&mut self) -> impl DerefMut + '_ { let mut inner = self.inner.write(); @@ -91,7 +91,7 @@ impl Partial { /// /// # Panics /// - /// Panics, if a return value of [`Self::write`] is still borrowed. + /// Panics, if a call to [`Self::write`] would panic. pub fn build(self, objects: &mut Service) -> Handle where T: Insert,