Skip to content

Commit

Permalink
Correct type signature in doc for Bound::as_mut
Browse files Browse the repository at this point in the history
  • Loading branch information
glittershark committed Jun 7, 2021
1 parent 2312ff1 commit 5aa188a
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 5aa188a

Please sign in to comment.