about summary refs log tree commit diff
path: root/example/std_example.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-03-04 15:04:28 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2020-03-04 15:04:28 +0100
commit9ab2af56aa4a8b6f11a4275671fd7947c0251a0b (patch)
treed82bdd0d9b951eec11095a167b481118005928cb /example/std_example.rs
parentdc1165300d7d63040904012d09a2556222c8aedd (diff)
downloadrust-9ab2af56aa4a8b6f11a4275671fd7947c0251a0b.tar.gz
rust-9ab2af56aa4a8b6f11a4275671fd7947c0251a0b.zip
Rustup to rustc 1.43.0-nightly (4ad624882 2020-03-03)
Diffstat (limited to 'example/std_example.rs')
-rw-r--r--example/std_example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index 3332c025e17..baf9a9c526e 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -84,7 +84,7 @@ fn main() {
     let empty: [i32; 0] = [];
     assert!(empty.is_sorted());
 
-    println!("{:?}", unsafe { std::intrinsics::caller_location() });
+    println!("{:?}", std::intrinsics::caller_location());
 
     unsafe {
         test_simd();