Fix intra_doc_link_resolution_failure and deny in lib.rs

This commit is contained in:
Michael Watzko 2020-06-10 16:46:02 +02:00
commit caecd49b08

View file

@ -101,8 +101,8 @@ pub enum OnPingRequest {
Ignore, Ignore,
} }
/// Use [TransmissionMode::PPoE] when talking /// Use [`ConnectionType::PPoE`] when talking
/// to an ADSL modem. Otherwise use [TransmissionMode::Ethernet] /// to an ADSL modem. Otherwise use [`ConnectionType::Ethernet`]
#[derive(Copy, Clone, PartialOrd, PartialEq)] #[derive(Copy, Clone, PartialOrd, PartialEq)]
pub enum ConnectionType { pub enum ConnectionType {
PPoE, PPoE,
@ -273,7 +273,7 @@ impl<
/// state of the [`Sockets`] is no longer in sync with the W5500, their usage might /// state of the [`Sockets`] is no longer in sync with the W5500, their usage might
/// result in undefined behavior. /// result in undefined behavior.
/// ///
/// [`Sockets`]: Socket /// [`Sockets`]: crate::Socket
pub unsafe fn reset(&mut self) -> Result<(), TransferError<SpiError, ChipSelectError>> { pub unsafe fn reset(&mut self) -> Result<(), TransferError<SpiError, ChipSelectError>> {
self.write_to( self.write_to(
Register::CommonRegister(0x00_00_u16), Register::CommonRegister(0x00_00_u16),