Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
omerbenamram committed May 23, 2019
1 parent bfdc8a1 commit 8c93099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/attribute/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
{
Expand Down

0 comments on commit 8c93099

Please sign in to comment.