Skip to content

Commit

Permalink
Fix for unused_qualifications h/t @gregszabo @andynog.
Browse files Browse the repository at this point in the history
  • Loading branch information
adizere committed Jul 10, 2020
1 parent 949ad61 commit 107cccb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions modules/src/ics03_connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ pub mod query;

// Use the generated proto file for the connection according to prost_build instructions
pub mod proto_connection {

#![allow(unused_qualifications)]

include!(concat!(env!("OUT_DIR"), "/connection.rs"));
}
2 changes: 1 addition & 1 deletion modules/src/ics23_commitment/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl CommitmentProof {
*/

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct CommitmentPrefix(std::vec::Vec<u8>);
pub struct CommitmentPrefix(Vec<u8>);

impl CommitmentPrefix {
pub fn new(content: Vec<u8>) -> Self {
Expand Down
2 changes: 1 addition & 1 deletion modules/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
trivial_casts,
trivial_numeric_casts,
unused_import_braces,
//unused_qualifications,
unused_qualifications,
rust_2018_idioms
)]
#![allow(dead_code)]
Expand Down

0 comments on commit 107cccb

Please sign in to comment.