@@ -14,7 +14,6 @@ pub(crate) enum Notification<'a> {
1414 ComponentAlreadyInstalled ( & ' a str ) ,
1515 CantReadUpdateHash ( & ' a Path ) ,
1616 NoUpdateHash ( & ' a Path ) ,
17- ChecksumValid ( & ' a str ) ,
1817 FileAlreadyDownloaded ,
1918 CachedFileChecksumFailed ,
2019 MissingInstalledComponent ( & ' a str ) ,
@@ -75,10 +74,9 @@ impl Notification<'_> {
7574 pub ( crate ) fn level ( & self ) -> NotificationLevel {
7675 use self :: Notification :: * ;
7776 match self {
78- ChecksumValid ( _)
79- | NoUpdateHash ( _)
80- | FileAlreadyDownloaded
81- | DownloadingLegacyManifest => NotificationLevel :: Debug ,
77+ NoUpdateHash ( _) | FileAlreadyDownloaded | DownloadingLegacyManifest => {
78+ NotificationLevel :: Debug
79+ }
8280 DownloadingComponent ( _, _, _, _)
8381 | InstallingComponent ( _, _, _)
8482 | RemovingComponent ( _, _, _)
@@ -134,7 +132,6 @@ impl Display for Notification<'_> {
134132 path. display( )
135133 ) ,
136134 NoUpdateHash ( path) => write ! ( f, "no update hash at: '{}'" , path. display( ) ) ,
137- ChecksumValid ( url) => write ! ( f, "checksum passed for {url}" ) ,
138135 FileAlreadyDownloaded => write ! ( f, "reusing previously downloaded file" ) ,
139136 CachedFileChecksumFailed => write ! ( f, "bad checksum for cached download" ) ,
140137 MissingInstalledComponent ( c) => {
0 commit comments