Skip to content

Commit

Permalink
chore: fix lints for nightly compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Mar 15, 2024
1 parent 9e26815 commit 78b23e3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion consensus/src/segwit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use amplify::{confinement, Bytes32StrRev, Wrapper};

use crate::opcodes::*;
use crate::{
ByteStr, OpCode, RedeemScript, ScriptBytes, ScriptPubkey, VarIntArray, WScriptHash,
ByteStr, RedeemScript, ScriptBytes, ScriptPubkey, VarIntArray, WScriptHash,
LIB_NAME_BITCOIN,
};

Expand Down
4 changes: 0 additions & 4 deletions consensus/src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ impl FromStr for Outpoint {

#[cfg(feature = "serde")]
mod _serde_outpoint {
use std::fmt;

use serde::de::{SeqAccess, Visitor};
use serde::ser::SerializeTuple;
use serde::{Deserialize, Deserializer, Serialize, Serializer};
Expand Down Expand Up @@ -528,8 +526,6 @@ impl Tx {

#[cfg(test)]
mod test {
use amplify::hex::{FromHex, ToHex};

use super::*;

#[test]
Expand Down
1 change: 0 additions & 1 deletion dbc/src/tapret/xonlypk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ mod test {
use commit_verify::mpc::Commitment;

use super::*;
use crate::tapret::TapretNodePartner;

#[test]
fn key_path() {
Expand Down

0 comments on commit 78b23e3

Please sign in to comment.