Skip to content

Commit 6636122

Browse files
committed
suppressed and fixed warnings
1 parent a251444 commit 6636122

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
//! ```
8181
//!
8282
//!
83+
#![allow(bare_trait_objects)]
84+
8385
#![cfg_attr(all(test, feature = "unstable"), feature(test))]
8486
pub extern crate bitcoin;
8587
#[cfg(feature = "serde")]

src/miniscript/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ where
300300
use std::marker::PhantomData;
301301
use std::str::FromStr;
302302

303-
struct StrVisitor<Qk>(PhantomData<(Qk)>);
303+
struct StrVisitor<Qk>(PhantomData<Qk>);
304304

305305
impl<'de, Qk> de::Visitor<'de> for StrVisitor<Qk>
306306
where

0 commit comments

Comments
 (0)