@@ -14,7 +14,6 @@ pub(crate) enum Notification<'a> {
14
14
ComponentAlreadyInstalled ( & ' a str ) ,
15
15
CantReadUpdateHash ( & ' a Path ) ,
16
16
NoUpdateHash ( & ' a Path ) ,
17
- ChecksumValid ( & ' a str ) ,
18
17
FileAlreadyDownloaded ,
19
18
CachedFileChecksumFailed ,
20
19
MissingInstalledComponent ( & ' a str ) ,
@@ -75,10 +74,9 @@ impl Notification<'_> {
75
74
pub ( crate ) fn level ( & self ) -> NotificationLevel {
76
75
use self :: Notification :: * ;
77
76
match self {
78
- ChecksumValid ( _)
79
- | NoUpdateHash ( _)
80
- | FileAlreadyDownloaded
81
- | DownloadingLegacyManifest => NotificationLevel :: Debug ,
77
+ NoUpdateHash ( _) | FileAlreadyDownloaded | DownloadingLegacyManifest => {
78
+ NotificationLevel :: Debug
79
+ }
82
80
DownloadingComponent ( _, _, _, _)
83
81
| InstallingComponent ( _, _, _)
84
82
| RemovingComponent ( _, _, _)
@@ -134,7 +132,6 @@ impl Display for Notification<'_> {
134
132
path. display( )
135
133
) ,
136
134
NoUpdateHash ( path) => write ! ( f, "no update hash at: '{}'" , path. display( ) ) ,
137
- ChecksumValid ( url) => write ! ( f, "checksum passed for {url}" ) ,
138
135
FileAlreadyDownloaded => write ! ( f, "reusing previously downloaded file" ) ,
139
136
CachedFileChecksumFailed => write ! ( f, "bad checksum for cached download" ) ,
140
137
MissingInstalledComponent ( c) => {
0 commit comments