@@ -22,7 +22,6 @@ pub(crate) enum Notification<'a> {
2222 DownloadFinished ( Option < & ' a str > ) ,
2323 /// Download has failed.
2424 DownloadFailed ( & ' a str ) ,
25- ResumingPartialDownload ,
2625 /// This would make more sense as a crate::notifications::Notification
2726 /// member, but the notification callback is already narrowed to
2827 /// utils::notifications by the time tar unpacking is called.
@@ -63,8 +62,7 @@ impl Notification<'_> {
6362 DownloadContentLengthReceived ( _, _)
6463 | DownloadDataReceived ( _, _)
6564 | DownloadFinished ( _)
66- | DownloadFailed ( _)
67- | ResumingPartialDownload => NotificationLevel :: Debug ,
65+ | DownloadFailed ( _) => NotificationLevel :: Debug ,
6866 ToolchainDirectory ( _)
6967 | LookingForToolchain ( _)
7068 | InstallingToolchain ( _)
@@ -110,7 +108,6 @@ impl Display for Notification<'_> {
110108 DownloadDataReceived ( data, _) => write ! ( f, "received some data of size {}" , data. len( ) ) ,
111109 DownloadFinished ( _) => write ! ( f, "download finished" ) ,
112110 DownloadFailed ( _) => write ! ( f, "download failed" ) ,
113- ResumingPartialDownload => write ! ( f, "resuming partial download" ) ,
114111 SetAutoInstall ( auto) => write ! ( f, "auto install set to '{auto}'" ) ,
115112 SetDefaultToolchain ( None ) => write ! ( f, "default toolchain unset" ) ,
116113 SetDefaultToolchain ( Some ( name) ) => write ! ( f, "default toolchain set to '{name}'" ) ,
0 commit comments