File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11//! v1 compatibility wrapper
22//! this module adds reverse support for v2 digital traits
3- //! v2 traits must be explicitly cast to the v1 version using `.into()`.
3+ //! v2 traits must be explicitly cast to the v1 version using `.into()`,
4+ //! and will panic on internal errors
45
56#[ allow( deprecated) ]
67use super :: v1;
3839}
3940
4041/// Implementation of `v1::OutputPin` trait for fallible `v2::OutputPin` output pins
42+ /// where errors will panic.
4143#[ allow( deprecated) ]
4244impl < T , E > v1:: OutputPin for OldOutputPin < T >
4345where
7274}
7375
7476/// Wrapper to allow fallible `v2::InputPin` traits to be converted to `v1::InputPin` traits
77+ /// where errors will panic.
7578#[ cfg( feature = "unproven" ) ]
7679pub struct OldInputPin < T > {
7780 pin : T ,
You can’t perform that action at this time.
0 commit comments