From caecd49b08a6e0bec1642a723cf509adff7b9fa7 Mon Sep 17 00:00:00 2001 From: Michael Watzko Date: Wed, 10 Jun 2020 16:46:02 +0200 Subject: [PATCH] Fix intra_doc_link_resolution_failure and deny in lib.rs --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2eb9bfb..f867f4c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -101,8 +101,8 @@ pub enum OnPingRequest { Ignore, } -/// Use [TransmissionMode::PPoE] when talking -/// to an ADSL modem. Otherwise use [TransmissionMode::Ethernet] +/// Use [`ConnectionType::PPoE`] when talking +/// to an ADSL modem. Otherwise use [`ConnectionType::Ethernet`] #[derive(Copy, Clone, PartialOrd, PartialEq)] pub enum ConnectionType { PPoE, @@ -273,7 +273,7 @@ impl< /// state of the [`Sockets`] is no longer in sync with the W5500, their usage might /// result in undefined behavior. /// - /// [`Sockets`]: Socket + /// [`Sockets`]: crate::Socket pub unsafe fn reset(&mut self) -> Result<(), TransferError> { self.write_to( Register::CommonRegister(0x00_00_u16),