You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/hexdump.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ const CHUNK_SIZE: usize = 4096;
21
21
22
22
fnrun(){
23
23
// Use the current executable as source file (because we know that will exist).
24
-
let exe_path = ::std::env::current_exe().expect("current_exe failed");
24
+
let exe_path = std::env::current_exe().expect("current_exe failed");
25
25
let exe_path_str = exe_path.to_str().expect("invalid unicode path");
26
26
27
27
let file = StorageFile::get_file_from_path_async(&*FastHString::new(&exe_path_str)).unwrap().blocking_get().expect("get_file_from_path_async failed").unwrap();
Copy file name to clipboardExpand all lines: examples/test.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@ fn run() {
150
150
assert!(asi.close().is_ok());
151
151
152
152
// Walk directories up to root
153
-
let exe_path = ::std::env::current_exe().expect("current_exe failed");
153
+
let exe_path = std::env::current_exe().expect("current_exe failed");
154
154
let exe_path_str = exe_path.to_str().expect("invalid unicode path");
155
155
let file = StorageFile::get_file_from_path_async(&*FastHString::new(&exe_path_str)).unwrap().blocking_get().expect("get_file_from_path_async failed").unwrap();
0 commit comments