Bump MSRV to 1.56

This commit is contained in:
Alekos Filini committed 2022-05-04 17:29:07 +02:00
1 parent 6e8744d59d
commit cca69481eb
12 files changed
+35 -31

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ impl FromStr for FullyNodedExport {
}
fn remove_checksum(s: String) -> String {
s.splitn(2, '#').next().map(String::from).unwrap()
s.split_once('#').map(|(a, _)| String::from(a)).unwrap()
}
impl FullyNodedExport {
+2 -2
View File
@@ -1603,9 +1603,9 @@ where
pub fn descriptor_checksum(&self, keychain: KeychainKind) -> String {
self.get_descriptor_for_keychain(keychain)
.to_string()
.splitn(2, '#')
.next()
.split_once('#')
.unwrap()
.0
.to_string()
}
}
+1
View File
@@ -479,6 +479,7 @@ pub struct SignOptions {
pub allow_all_sighashes: bool,
}
#[allow(clippy::derivable_impls)]
impl Default for SignOptions {
fn default() -> Self {
SignOptions {