Minor typo fixes, clean-up of the public interface
This commit is contained in:
parent
ca8268ab31
commit
a3e0911c5b
8 changed files with 17 additions and 11 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue