Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/mft.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmer Ben-Amram <omerbenamram@gmail.com>2019-05-23 19:42:16 +0300
committerOmer Ben-Amram <omerbenamram@gmail.com>2019-05-23 19:42:16 +0300
commit8c93099f47c9f7b0ed9b0233d0be370a1fa3a8a1 (patch)
tree0cc15a06fe8f098673e5e07e580929816fd559fd
parentbfdc8a19c6f9c1572b296d00edbc724c2df672ed (diff)
tiny fix
-rw-r--r--Cargo.toml2
-rw-r--r--src/attribute/raw.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f2d40de..64eb5f7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,7 +20,7 @@ serde = {version = "1.0.91", features = ["derive"]}
serde_json = "1.0.39"
csv = "1.0.7"
env_logger = "0.6.1"
-snafu = {version="0.3.1", features = ["backtraces", "rust_1_30"]}
+snafu = {version="0.4.1", features = ["backtraces", "rust_1_30"]}
num-traits = "0.2"
num-derive = "0.2"
winstructs = "0.1.1"
diff --git a/src/attribute/raw.rs b/src/attribute/raw.rs
index 1e24969..8285ae5 100644
--- a/src/attribute/raw.rs
+++ b/src/attribute/raw.rs
@@ -29,7 +29,7 @@ impl RawAttribute {
}
}
-fn data_as_hex<S>(x: &Vec<u8>, s: S) -> std::result::Result<S::Ok, S::Error>
+fn data_as_hex<S>(x: &[u8], s: S) -> std::result::Result<S::Ok, S::Error>
where
S: ser::Serializer,
{