Skip to content

Commit

Permalink
Fix docstring/doctests wrt change to inetnum
Browse files Browse the repository at this point in the history
  • Loading branch information
DRiKE committed Mar 25, 2024
1 parent c8b541c commit 42e90d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bgp/communities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
//! and [`to_wellknown()`](`Community::to_wellknown()`).
//!
//! ```
//! use routecore::asn::Asn;
//! use inetnum::asn::Asn;
//! use routecore::bgp::communities::Community;
//! use std::str::FromStr;
//!
Expand Down
2 changes: 1 addition & 1 deletion src/bgp/message/open.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct OpenMessage<Octets> {
///
/// * [`my_asn()`][`OpenMessage::my_asn`]: returns the 32bit ASN if present,
/// otherwise falls back to the conventional 16bit ASN (though represented as
/// the 32bit [`routecore::asn::Asn`][`Asn`]);
/// the 32bit [`inetnum::asn::Asn`][`Asn`]);
/// * [`multiprotocol_ids()`][`OpenMessage::multiprotocol_ids`]: returns an
/// iterator over all the AFI/SAFI combinations listed as Capability in the
/// Optional Parameters. If this yields an empty iterator, one can assume the
Expand Down

0 comments on commit 42e90d2

Please sign in to comment.