Skip to content

Commit b43aae3

Browse files
committed
Allow clippy warning manual-split-once
Not using `split_once` is a warning for `stable` but is not yet supported with our MSRV. https://rust-lang.github.io/rust-clippy/master/index.html#manual_split_once
1 parent ef1e19e commit b43aae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet/export.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ impl FromStr for WalletExport {
9595
}
9696
}
9797

98+
#[allow(clippy::manual_split_once)]
9899
fn remove_checksum(s: String) -> String {
99100
s.splitn(2, '#').next().map(String::from).unwrap()
100101
}

0 commit comments

Comments
 (0)