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::GLOBAL {
#[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]
@ -43,10 +45,8 @@ impl super::GLOBAL {
#[doc = "Possible values of the field `RST`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RSTR {
#[doc = "Module is not reset."]
_0,
#[doc = "Module is reset."]
_1,
#[doc = "Module is not reset."] _0,
#[doc = "Module is reset."] _1,
}
impl RSTR {
#[doc = r" Returns `true` if the bit is clear (0)"]
@ -89,10 +89,8 @@ impl RSTR {
}
#[doc = "Values that can be written to the field `RST`"]
pub enum RSTW {
#[doc = "Module is not reset."]
_0,
#[doc = "Module is reset."]
_1,
#[doc = "Module is not reset."] _0,
#[doc = "Module is reset."] _1,
}
impl RSTW {
#[allow(missing_docs)]