diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-04-24 13:55:01 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-04-24 13:55:01 +0300 |
commit | 5a7fcfad7f54c77fab886ed9c41fd44ca600638d (patch) | |
tree | a21553cd538fba753f681408947a0ac3039101df /generic/sodium | |
parent | 44d4a2a832f461e7c3f3e060dfaae283ff4a48fa (diff) |
Fix various new clippy warnings with clippy 1.43
Diffstat (limited to 'generic/sodium')
-rw-r--r-- | generic/sodium/build.rs | 2 | ||||
-rw-r--r-- | generic/sodium/examples/decrypt_example.rs | 1 | ||||
-rw-r--r-- | generic/sodium/examples/encrypt_example.rs | 1 | ||||
-rw-r--r-- | generic/sodium/examples/generate_keys.rs | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/generic/sodium/build.rs b/generic/sodium/build.rs index 0d1ddb61d..17be1215e 100644 --- a/generic/sodium/build.rs +++ b/generic/sodium/build.rs @@ -1,5 +1,3 @@ -extern crate gst_plugin_version_helper; - fn main() { gst_plugin_version_helper::get_info() } diff --git a/generic/sodium/examples/decrypt_example.rs b/generic/sodium/examples/decrypt_example.rs index 9908a0fd3..9cd3a0695 100644 --- a/generic/sodium/examples/decrypt_example.rs +++ b/generic/sodium/examples/decrypt_example.rs @@ -32,7 +32,6 @@ use std::path::PathBuf; use clap::{App, Arg}; use serde::{Deserialize, Serialize}; -use serde_json; #[derive(Debug, Serialize, Deserialize)] struct Keys { diff --git a/generic/sodium/examples/encrypt_example.rs b/generic/sodium/examples/encrypt_example.rs index 6189e3242..f3115d27a 100644 --- a/generic/sodium/examples/encrypt_example.rs +++ b/generic/sodium/examples/encrypt_example.rs @@ -32,7 +32,6 @@ use std::path::PathBuf; use clap::{App, Arg}; use serde::{Deserialize, Serialize}; -use serde_json; #[derive(Debug, Serialize, Deserialize)] struct Keys { diff --git a/generic/sodium/examples/generate_keys.rs b/generic/sodium/examples/generate_keys.rs index b7de47772..fa5e137b8 100644 --- a/generic/sodium/examples/generate_keys.rs +++ b/generic/sodium/examples/generate_keys.rs @@ -24,7 +24,6 @@ use clap::{App, Arg}; use serde::{Deserialize, Serialize}; -use serde_json; use sodiumoxide::crypto::box_; use std::fs::File; |