mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 23:01:33 +00:00
Check documentation intra-link (#1432)
* Fix broken links in rustdoc This fixes all of the rustdoc warnings on nightly. * Check documentation intra-link * Fix config * Fix bad indent * Make nightly explicit * More links fixes * Fix link broken after master merge Co-authored-by: Demi Obenour <48690212+DemiMarie-parity@users.noreply.github.com>
This commit is contained in:
@ -105,7 +105,7 @@ impl Multiaddr {
|
||||
Some(protocol)
|
||||
}
|
||||
|
||||
/// Like [`push`] but consumes `self`.
|
||||
/// Like [`Multiaddr::push`] but consumes `self`.
|
||||
pub fn with(mut self, p: Protocol<'_>) -> Self {
|
||||
let mut w = io::Cursor::<&mut Vec<u8>>::new(Arc::make_mut(&mut self.bytes));
|
||||
w.set_position(w.get_ref().len() as u64);
|
||||
|
Reference in New Issue
Block a user