From 5aa188ac5d20c6f7f1ed131a6e4f932f22b0d312 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 7 Jun 2021 10:55:31 -0400 Subject: [PATCH] Correct type signature in doc for Bound::as_mut --- library/core/src/ops/range.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/ops/range.rs b/library/core/src/ops/range.rs index 684e6bb4a0fba..bb948376bc7c7 100644 --- a/library/core/src/ops/range.rs +++ b/library/core/src/ops/range.rs @@ -686,7 +686,7 @@ impl Bound { } } - /// Converts from `&mut Bound` to `Bound<&T>`. + /// Converts from `&mut Bound` to `Bound<&mut T>`. #[inline] #[unstable(feature = "bound_as_ref", issue = "80996")] pub fn as_mut(&mut self) -> Bound<&mut T> {