Skip to content

Commit 5aa188a

Browse files
committed
Correct type signature in doc for Bound::as_mut
1 parent 2312ff1 commit 5aa188a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/range.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ impl<T> Bound<T> {
686686
}
687687
}
688688

689-
/// Converts from `&mut Bound<T>` to `Bound<&T>`.
689+
/// Converts from `&mut Bound<T>` to `Bound<&mut T>`.
690690
#[inline]
691691
#[unstable(feature = "bound_as_ref", issue = "80996")]
692692
pub fn as_mut(&mut self) -> Bound<&mut T> {

0 commit comments

Comments
 (0)