Fix typo in test
This commit is contained in:
parent
499d4c454d
commit
c622551ec2
@ -384,7 +384,7 @@ impl HasUnsafeFn {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let x = &5 as *usize;
|
||||
let x = &5 as *const usize;
|
||||
unsafe {
|
||||
unsafe_fn();
|
||||
HasUnsafeFn.unsafe_method();
|
||||
|
Loading…
x
Reference in New Issue
Block a user