Skip to content

Commit

Permalink
Rollup merge of rust-lang#86101 - glittershark:bound-as-mut-doc-fix, …
Browse files Browse the repository at this point in the history
…r=m-ou-se

Correct type signature in doc for Bound::as_mut

Thanks to `@drmason13` for pointing this out!
  • Loading branch information
JohnTitor authored Jun 8, 2021
2 parents 7606a8c + 5aa188a commit e0464fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/ops/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ impl<T> Bound<T> {
}
}

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

0 comments on commit e0464fc

Please sign in to comment.