Skip to content

Commit

Permalink
Fix doctest without std.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Oct 14, 2024
1 parent e927007 commit 42f728f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ use octseq::{Octets, OctetsFrom, Parser};
/// use domain::base::Message;
/// use domain::rdata::Mx;
///
/// # let octets = vec![0; 12];
/// # let octets = b"\0\0\0\0\0\0\0\0\0\0\0\0".as_slice();
/// let msg = Message::from_octets(octets).unwrap();
/// for record in msg.answer().unwrap().limit_to::<Mx<_>>() {
/// if let Ok(record) = record {
Expand Down

0 comments on commit 42f728f

Please sign in to comment.