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 {
2020 /// Logs will be sent to standard error.
2121 Stderr ,
2222 /// 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- "]
2723 Pipe ( Box < dyn io:: Write + Send + ' static > ) ,
2824}
2925
@@ -41,7 +37,6 @@ impl fmt::Debug for Target {
4137 match self {
4238 Self :: Stdout => "stdout" ,
4339 Self :: Stderr => "stderr" ,
44- #[ allow( deprecated) ]
4540 Self :: Pipe ( _) => "pipe" ,
4641 }
4742 )
@@ -65,7 +60,6 @@ impl From<Target> for WritableTarget {
6560 match target {
6661 Target :: Stdout => Self :: Stdout ,
6762 Target :: Stderr => Self :: Stderr ,
68- #[ allow( deprecated) ]
6963 Target :: Pipe ( pipe) => Self :: Pipe ( Box :: new ( Mutex :: new ( pipe) ) ) ,
7064 }
7165 }
You can’t perform that action at this time.
0 commit comments