@@ -50,7 +50,6 @@ pub enum Notification<'a> {
50
50
DownloadFinished ( Option < & ' a str > ) ,
51
51
/// Download has failed.
52
52
DownloadFailed ( & ' a str ) ,
53
- NoCanonicalPath ( & ' a Path ) ,
54
53
ResumingPartialDownload ,
55
54
/// This would make more sense as a crate::notifications::Notification
56
55
/// member, but the notification callback is already narrowed to
@@ -135,7 +134,6 @@ impl Notification<'_> {
135
134
| UsingCurl
136
135
| UsingReqwest => NotificationLevel :: Debug ,
137
136
RenameInUse ( _, _) => NotificationLevel :: Info ,
138
- NoCanonicalPath ( _) => NotificationLevel :: Warn ,
139
137
Error ( _) => NotificationLevel :: Error ,
140
138
CreatingRoot ( _) | CreatingFile ( _) => NotificationLevel :: Debug ,
141
139
FileDeletion ( _, result) | DirectoryDeletion ( _, result) => match result {
@@ -281,7 +279,6 @@ impl Display for Notification<'_> {
281
279
DownloadDataReceived ( data, _) => write ! ( f, "received some data of size {}" , data. len( ) ) ,
282
280
DownloadFinished ( _) => write ! ( f, "download finished" ) ,
283
281
DownloadFailed ( _) => write ! ( f, "download failed" ) ,
284
- NoCanonicalPath ( path) => write ! ( f, "could not canonicalize path: '{}'" , path. display( ) ) ,
285
282
ResumingPartialDownload => write ! ( f, "resuming partial download" ) ,
286
283
UsingCurl => write ! ( f, "downloading with curl" ) ,
287
284
UsingReqwest => write ! ( f, "downloading with reqwest" ) ,
0 commit comments