File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/tools/rust-analyzer/crates/ide-assists/src/handlers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ impl<T> core::ops::Index<Axis> for [T; 3] where T: Copy {
236
236
//- minicore: as_ref
237
237
struct Foo(i32);
238
238
239
- impl<T> core::convert::AsRef$0<i32> for Foo {
239
+ impl core::convert::AsRef$0<i32> for Foo {
240
240
fn as_ref(&self) -> &i32 {
241
241
&self.0
242
242
}
@@ -245,13 +245,13 @@ impl<T> core::convert::AsRef$0<i32> for Foo {
245
245
r#"
246
246
struct Foo(i32);
247
247
248
- $0impl<T> core::convert::AsMut<i32> for Foo {
248
+ $0impl core::convert::AsMut<i32> for Foo {
249
249
fn as_mut(&mut self) -> &mut i32 {
250
250
&self.0
251
251
}
252
252
}
253
253
254
- impl<T> core::convert::AsRef<i32> for Foo {
254
+ impl core::convert::AsRef<i32> for Foo {
255
255
fn as_ref(&self) -> &i32 {
256
256
&self.0
257
257
}
@@ -362,7 +362,7 @@ impl<T> Index$0<i32> for [T; 3] {}
362
362
r#"
363
363
pub trait AsRef<T: ?Sized> {}
364
364
365
- impl<T> AsRef$0<i32> for [T; 3] {}
365
+ impl AsRef$0<i32> for [T; 3] {}
366
366
"# ,
367
367
) ;
368
368
}
You can’t perform that action at this time.
0 commit comments