Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 27c2c52

Browse files
committed
Update 77179
1 parent 94c4db7 commit 27c2c52

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ices/77179.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
type Pointer<T> = impl std::ops::Deref<Target=T>;
44

5-
fn test() -> Pointer<_> {
6-
Box::new(1)
7-
}
8-
95
fn main() {
10-
test();
6+
let p: Pointer<_> = Box::new(1);
117
}

0 commit comments

Comments
 (0)