Commit 207c457d authored by David Brown's avatar David Brown Committed by Fabio Utzig
Browse files

sim: Derive PartialEq and Eq for UpgradeInfo

This will allow comparisons of the upgrade info.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent 18d301f5
Loading
Loading
Loading
Loading
+1 −1
Changes for sim/src/depends.rs: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ pub enum DepType {
}

/// Describes what our expectation is for an upgrade.
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum UpgradeInfo {
    /// The current version should be held.
    Held,