Skip to content

Commit 6be2aea

Browse files
nmattiakornelski
authored andcommitted
Revert std::path import
1 parent 2132371 commit 6be2aea

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/ffi.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,13 @@ use std::slice;
88
use std::fmt;
99
use std::os::raw::{c_char, c_uint, c_long, c_void};
1010
use std::ffi::CStr;
11+
use std::path::*;
1112
use std::io;
1213

1314
use crate::rustimpl;
1415
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
1516
mod libc;
1617

17-
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
18-
use std::path::PathBuf;
19-
20-
#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
21-
use std::path::Path;
22-
2318
macro_rules! lode_error {
2419
($e:expr) => {
2520
if let Err(e) = $e {

0 commit comments

Comments
 (0)