@@ -22,7 +22,6 @@ pub(crate) enum Notification<'a> {
22
22
DownloadFinished ( Option < & ' a str > ) ,
23
23
/// Download has failed.
24
24
DownloadFailed ( & ' a str ) ,
25
- ResumingPartialDownload ,
26
25
/// This would make more sense as a crate::notifications::Notification
27
26
/// member, but the notification callback is already narrowed to
28
27
/// utils::notifications by the time tar unpacking is called.
@@ -63,8 +62,7 @@ impl Notification<'_> {
63
62
DownloadContentLengthReceived ( _, _)
64
63
| DownloadDataReceived ( _, _)
65
64
| DownloadFinished ( _)
66
- | DownloadFailed ( _)
67
- | ResumingPartialDownload => NotificationLevel :: Debug ,
65
+ | DownloadFailed ( _) => NotificationLevel :: Debug ,
68
66
ToolchainDirectory ( _)
69
67
| LookingForToolchain ( _)
70
68
| InstallingToolchain ( _)
@@ -110,7 +108,6 @@ impl Display for Notification<'_> {
110
108
DownloadDataReceived ( data, _) => write ! ( f, "received some data of size {}" , data. len( ) ) ,
111
109
DownloadFinished ( _) => write ! ( f, "download finished" ) ,
112
110
DownloadFailed ( _) => write ! ( f, "download failed" ) ,
113
- ResumingPartialDownload => write ! ( f, "resuming partial download" ) ,
114
111
SetAutoInstall ( auto) => write ! ( f, "auto install set to '{auto}'" ) ,
115
112
SetDefaultToolchain ( None ) => write ! ( f, "default toolchain unset" ) ,
116
113
SetDefaultToolchain ( Some ( name) ) => write ! ( f, "default toolchain set to '{name}'" ) ,
0 commit comments