Oren Hazi
Oren Hazi
Potential fix for #36
The following code panics: ```Rust fn main() { println!("{}", eui48::MacAddress::parse_str("123456ABCDEF1").unwrap_err()); } ``` ``` ohazi@avocado:~/source/eui48_index_out_of_range$ RUST_BACKTRACE=1 cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.01s Running `target/debug/eui48_index_out_of_range` thread 'main' panicked...
The following doesn't actually work: https://github.com/arduino/ArduinoCore-nRF528x-mbedos/blob/05730711a2ad8748c6e6d1a0f04377e90ca74a0a/cores/arduino/Arduino.h#L24-L33 The problem here is that both Arduino and mbed-os have a `PinMode` enum, and users of either platform expect that name to map to...
At first glance, I would assume that id should be a usize... ```rust /// The internal ID (actually a C pointer value) of this container. Do not make any ///...