Skip to content

Commit a416e05

Browse files
authored
Rollup merge of rust-lang#86101 - glittershark:bound-as-mut-doc-fix, r=m-ou-se
Correct type signature in doc for Bound::as_mut Thanks to ``@drmason13`` for pointing this out!
2 parents 2e8ffed + 5aa188a commit a416e05

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)