File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,6 @@ pub enum Target {
20
20
/// Logs will be sent to standard error.
21
21
Stderr ,
22
22
/// Logs will be sent to a custom pipe.
23
- #[ deprecated = "\
24
- This functionality is [broken](https://github.com/env-logger-rs/env_logger/issues/208) \
25
- and nobody is working on fixing it\
26
- "]
27
23
Pipe ( Box < dyn io:: Write + Send + ' static > ) ,
28
24
}
29
25
@@ -41,7 +37,6 @@ impl fmt::Debug for Target {
41
37
match self {
42
38
Self :: Stdout => "stdout" ,
43
39
Self :: Stderr => "stderr" ,
44
- #[ allow( deprecated) ]
45
40
Self :: Pipe ( _) => "pipe" ,
46
41
}
47
42
)
@@ -65,7 +60,6 @@ impl From<Target> for WritableTarget {
65
60
match target {
66
61
Target :: Stdout => Self :: Stdout ,
67
62
Target :: Stderr => Self :: Stderr ,
68
- #[ allow( deprecated) ]
69
63
Target :: Pipe ( pipe) => Self :: Pipe ( Box :: new ( Mutex :: new ( pipe) ) ) ,
70
64
}
71
65
}
You can’t perform that action at this time.
0 commit comments