Skip to content

Commit d9b4465

Browse files
committed
Use Cell instead of std::cell::Cell
1 parent 229d098 commit d9b4465

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libcc2rs/src/libc_shims/dirent.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Distributed under the MIT license that can be found in the LICENSE file.
33

44
use crate::{ByteRepr, Value};
5-
use std::cell::RefCell;
5+
use std::cell::{Cell, RefCell};
66
use std::rc::Rc;
77

88
pub struct Dirent {
@@ -41,7 +41,7 @@ impl ByteRepr for Dirent {}
4141

4242
pub struct CDir {
4343
pub entries: Vec<(u64, Vec<u8>, u8)>,
44-
pub pos: ::std::cell::Cell<usize>,
44+
pub pos: Cell<usize>,
4545
}
4646

4747
impl ByteRepr for CDir {}

0 commit comments

Comments
 (0)