Skip to content
Myr

Remove feature="std" inside code that is already feature="std"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent ccb77e6 · Browse files · 1 file+0 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−3 removed

  • other:+0 added−3 removed

1 file+0 added−3 removed

modified:src/error.rs-3 removed
78 unmodified lines
79 {80 let vtable = &ErrorVTable {81 object_drop: object_drop::<E>,82 object_ref: object_ref::<E>,83 #[cfg(feature = "std")]83 object_mut: object_mut::<E>,84 object_boxed: object_boxed::<E>,85 object_downcast: object_downcast::<E>,86 object_drop_rest: object_drop_front::<E>,
55 unmodified lines
142143 let vtable = &ErrorVTable {144 object_drop: object_drop::<ContextError<C, E>>,145 object_ref: object_ref::<ContextError<C, E>>,147 #[cfg(feature = "std")]146 object_mut: object_mut::<ContextError<C, E>>,147 object_boxed: object_boxed::<ContextError<C, E>>,148 object_downcast: context_downcast::<C, E>,149 object_drop_rest: context_drop_rest::<C, E>,
12 unmodified lines
162 let error = BoxedError(error);163 let vtable = &ErrorVTable {164 object_drop: object_drop::<BoxedError>,165 object_ref: object_ref::<BoxedError>,168 #[cfg(feature = "std")]166 object_mut: object_mut::<BoxedError>,167 object_boxed: object_boxed::<BoxedError>,168 object_downcast: object_downcast::<Box<dyn StdError + Send + Sync>>,169 object_drop_rest: object_drop_front::<Box<dyn StdError + Send + Sync>>,
631 unmodified lines