Minor typo fixes, clean-up of the public interface

This commit is contained in:
Jonah Dahlquist 2021-02-15 21:52:35 -08:00
commit a3e0911c5b
8 changed files with 17 additions and 11 deletions

View file

@ -102,7 +102,7 @@ impl MacAddress {
/// # Examples
///
/// ```
/// use w5500::net::MacAddress;
/// use w5500::MacAddress;
///
/// let addr = MacAddress::new(0x00, 0x00, 0x5E, 0x00, 0x00, 0x00);
/// ```
@ -119,7 +119,7 @@ impl MacAddress {
/// # Examples
///
/// ```
/// use w5500::net::MacAddress;
/// use w5500::MacAddress;
///
/// let addr = MacAddress::UNSPECIFIED;
/// assert_eq!(addr, MacAddress::new(0x00, 0x00, 0x00, 0x00, 0x00, 0x00));