diff --git a/README.md b/README.md index 66b53bf..623ee40 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ fn main() { ## Future * Implementing `std::ops::{Add, Sub, BitAnd, BitOr}` for `Ipv4Addr` and `Ipv6Addr` would be useful as these are common operations on IP addresses. If done, the extension traits provided in this module would be removed and the major version incremented. Implementing these requires a change to the standard library. I've started a thread on this topic on the [Rust Internals](https://internals.rust-lang.org/t/pre-rfc-implementing-add-sub-bitand-bitor-for-ipaddr-ipv4addr-ipv6addr/) discussion board. -* The results of `hosts()` and potentially `subnets()` should be represented as a `Range` rather than the custom `IpAddrRange` and `IpSubnets` types provided in this module. This requires the target types to have `Add` and `Step` implemented for them. Implementing `Add` for `IpAddr`, `Ipv4Addr`, and `Ipv6Addr` requires a change to the standard library (see above). And `Step` is still unstable so exploring this will also wait until it has stablized. +* The results of `hosts()` and potentially `subnets()` should be represented as a `Range` rather than the custom `IpAddrRange` and `IpSubnets` types provided in this module. This requires the target types to have `Add` and `Step` implemented for them. Implementing `Add` for `IpAddr`, `Ipv4Addr`, and `Ipv6Addr` requires a change to the standard library (see above). And `Step` is still unstable so exploring this will also wait until it has stabilized. ## License diff --git a/src/lib.rs b/src/lib.rs index cb32370..0cc8f9b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,7 +72,7 @@ //! //! For compact binary formats (e.g. Bincode) the `Ipv4Net` and //! `Ipv6Net` types will serialize to a string of 5 and 17 bytes that -//! consist of the network address octects followed by the prefix +//! consist of the network address octets followed by the prefix //! length. The `IpNet` type will serialize to an Enum with the V4 or V6 //! variant index prepending the above string of 5 or 17 bytes. //!