Skip to content

Commit 63d455f

Browse files
committed
Correct type signature in doc for Bound::as_mut
1 parent 741cca3 commit 63d455f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/ops/range.rs

Lines changed: 1 addition & 1 deletion
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)