Run with updated version of rustfmt

This commit is contained in:
Kjetil Kjeka
2017-09-23 20:31:10 +02:00
parent 7facea48b2
commit 2fc3ce22de
1658 changed files with 25191 additions and 42351 deletions

View File

@ -22,7 +22,9 @@ impl super::TCD13_BITER_ELINKNO {
#[doc = r" Reads the contents of the register"]
#[inline]
pub fn read(&self) -> R {
R { bits: self.register.get() }
R {
bits: self.register.get(),
}
}
#[doc = r" Writes to the register"]
#[inline]
@ -54,10 +56,8 @@ impl BITERR {
#[doc = "Possible values of the field `ELINK`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum ELINKR {
#[doc = "The channel-to-channel linking is disabled"]
_0,
#[doc = "The channel-to-channel linking is enabled"]
_1,
#[doc = "The channel-to-channel linking is disabled"] _0,
#[doc = "The channel-to-channel linking is enabled"] _1,
}
impl ELINKR {
#[doc = r" Returns `true` if the bit is clear (0)"]
@ -115,10 +115,8 @@ impl<'a> _BITERW<'a> {
}
#[doc = "Values that can be written to the field `ELINK`"]
pub enum ELINKW {
#[doc = "The channel-to-channel linking is disabled"]
_0,
#[doc = "The channel-to-channel linking is enabled"]
_1,
#[doc = "The channel-to-channel linking is disabled"] _0,
#[doc = "The channel-to-channel linking is enabled"] _1,
}
impl ELINKW {
#[allow(missing_docs)]