File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,7 @@ pub enum Error {
190190 Io ( std:: io:: Error ) ,
191191}
192192
193- #[ cfg( feature = "std" ) ]
194- impl std:: error:: Error for Error { }
193+ impl core:: error:: Error for Error { }
195194
196195impl core:: fmt:: Display for Error {
197196 fn fmt ( & self , fmt : & mut core:: fmt:: Formatter ) -> core:: fmt:: Result {
Original file line number Diff line number Diff line change @@ -50,9 +50,8 @@ impl core::fmt::Display for PldmError {
5050 }
5151}
5252
53- #[ cfg( feature = "std" ) ]
54- impl std:: error:: Error for PldmError {
55- fn source ( & self ) -> Option < & ( dyn std:: error:: Error + ' static ) > {
53+ impl core:: error:: Error for PldmError {
54+ fn source ( & self ) -> Option < & ( dyn core:: error:: Error + ' static ) > {
5655 match self {
5756 Self :: Mctp ( s) => Some ( s) ,
5857 _ => None ,
You can’t perform that action at this time.
0 commit comments