diff --git a/Cargo.toml b/Cargo.toml index be2177c..d33be09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,11 +34,11 @@ tempfile = "3" tokio = { version = "1", features = ["full"] } [target."cfg(unix)".dependencies] -xattr = { version = "0.2", optional = true } +xattr = { version = "1.0", optional = true } libc = "0.2" [target.'cfg(target_os = "redox")'.dependencies] -redox_syscall = "0.2" +redox_syscall = "0.3" [features] default = ["xattr"] diff --git a/src/entry.rs b/src/entry.rs index 2f3a1ea..537e5b6 100644 --- a/src/entry.rs +++ b/src/entry.rs @@ -854,7 +854,7 @@ impl Read for EntryFields { cx: &mut Context<'_>, into: &mut io::ReadBuf<'_>, ) -> Poll> { - let mut this = self.get_mut(); + let this = self.get_mut(); loop { if this.read_state.is_none() { this.read_state = this.data.pop_front();