Skip to content

Commit 625b73b

Browse files
committed
Fix AsMut::as_mut name
1 parent 7ddab22 commit 625b73b

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/test-utils/src

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/test-utils/src/minicore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ pub mod convert {
382382
// endregion:as_ref
383383
// region:as_mut
384384
pub trait AsMut<T: crate::marker::PointeeSized>: crate::marker::PointeeSized {
385-
fn as_ref(&mut self) -> &mut T;
385+
fn as_mut(&mut self) -> &mut T;
386386
}
387387
// endregion:as_mut
388388
// region:infallible

0 commit comments

Comments
 (0)