Fix typo in test

This commit is contained in:
Paul Daniel Faria 2020-05-24 13:20:03 -04:00
parent 499d4c454d
commit c622551ec2

View file

@ -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();