We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const BorrowMut
const Borrow
1 parent e548d77 commit a2d1d14Copy full SHA for a2d1d14
library/core/src/borrow.rs
@@ -187,7 +187,7 @@ pub const trait Borrow<Borrowed: ?Sized> {
187
#[stable(feature = "rust1", since = "1.0.0")]
188
#[rustc_diagnostic_item = "BorrowMut"]
189
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
190
-pub const trait BorrowMut<Borrowed: ?Sized>: Borrow<Borrowed> {
+pub const trait BorrowMut<Borrowed: ?Sized>: [const] Borrow<Borrowed> {
191
/// Mutably borrows from an owned value.
192
///
193
/// # Examples
0 commit comments