@@ -28,7 +28,6 @@ pub(crate) enum Notification<'a> {
2828 SetDefaultBufferSize ( usize ) ,
2929 UninstallingToolchain ( & ' a ToolchainName ) ,
3030 UninstalledToolchain ( & ' a ToolchainName ) ,
31- UpdateHashMatches ,
3231 UpgradingMetadata ( MetadataVersion , MetadataVersion ) ,
3332 MetadataUpgradeNotNeeded ( MetadataVersion ) ,
3433 ReadMetadataVersion ( MetadataVersion ) ,
@@ -52,9 +51,7 @@ impl Notification<'_> {
5251 | DownloadDataReceived ( _, _)
5352 | DownloadFinished ( _)
5453 | DownloadFailed ( _) => NotificationLevel :: Debug ,
55- ReadMetadataVersion ( _) | UpdateHashMatches => {
56- NotificationLevel :: Debug
57- }
54+ ReadMetadataVersion ( _) => NotificationLevel :: Debug ,
5855 UninstallingToolchain ( _)
5956 | UninstalledToolchain ( _)
6057 | UpgradingMetadata ( _, _)
@@ -89,7 +86,6 @@ impl Display for Notification<'_> {
8986 DownloadFailed ( _) => write ! ( f, "download failed" ) ,
9087 UninstallingToolchain ( name) => write ! ( f, "uninstalling toolchain '{name}'" ) ,
9188 UninstalledToolchain ( name) => write ! ( f, "toolchain '{name}' uninstalled" ) ,
92- UpdateHashMatches => write ! ( f, "toolchain is already up to date" ) ,
9389 UpgradingMetadata ( from_ver, to_ver) => write ! (
9490 f,
9591 "upgrading metadata version from '{from_ver}' to '{to_ver}'"
0 commit comments