Skip to content

Commit 944c692

Browse files
Update Cargo.lock.frozen with the latest MSRV
Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
1 parent b421df4 commit 944c692

File tree

2 files changed

+335
-319
lines changed

2 files changed

+335
-319
lines changed

tss-esapi/src/tcti_ldr.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -626,19 +626,13 @@ impl FromStr for TabrmdConfig {
626626
}
627627

628628
/// DBus type for usage with TABRMD
629-
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
629+
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq)]
630630
pub enum BusType {
631+
#[default]
631632
System,
632633
Session,
633634
}
634635

635-
#[allow(clippy::derivable_impls)] // Remove this when MSRV is higher then 1.57
636-
impl Default for BusType {
637-
fn default() -> Self {
638-
BusType::System
639-
}
640-
}
641-
642636
impl FromStr for BusType {
643637
type Err = Error;
644638

0 commit comments

Comments
 (0)