Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Actions #44

Merged
merged 11 commits into from
Oct 27, 2019
Prev Previous commit
Next Next commit
running cargo fmt
lucasbrendel committed Oct 24, 2019
commit 007b129c0acf8456ea18ca64744f8ea6af57905c
2 changes: 0 additions & 2 deletions src/can.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

pub trait CanExt {
fn constrain(self) -> Can;
}
@@ -13,7 +12,6 @@ pub struct Can {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/ccu40.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait Ccu40Ext {
fn constrain(self) -> Ccu40;
}
@@ -14,7 +12,6 @@ pub struct Ccu40 {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/ccu80.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait Ccu80Ext {
fn constrain(self) -> Ccu80;
}
@@ -14,7 +12,6 @@ pub struct Ccu80 {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/dac.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait DacExt {
fn constrain(self) -> Dac;
}
@@ -14,7 +12,6 @@ pub struct Dac {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/dlr.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait DlrExt {
fn constrain(self) -> Dlr;
}
@@ -14,7 +12,6 @@ pub struct Dlr {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/eru.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait EruExt {
fn constrain(self) -> Eru;
}
@@ -14,7 +12,6 @@ pub struct Eru {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/fce.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait FceExt {
fn constrain(self) -> Fce;
}
@@ -14,7 +12,6 @@ pub struct Fce {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/flash.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait FlashExt {
fn constrain(self) -> Flash;
}
@@ -14,7 +12,6 @@ pub struct Flash {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/gpdma.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait GpdmaExt {
fn constrain(self) -> Gpdma;
}
@@ -14,7 +12,6 @@ pub struct Gpdma {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/hrpwm.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait HrpwmExt {
fn constrain(self) -> Hrpwm;
}
@@ -14,7 +12,6 @@ pub struct Hrpwm {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/ledts.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait LedtsExt {
fn constrain(self) -> Ledts;
}
@@ -14,7 +12,6 @@ pub struct Ledts {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -83,7 +83,6 @@ pub mod vadc;
#[cfg(feature = "device-selected")]
pub mod wdt;


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/pba.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait PbaExt {
fn constrain(self) -> Pba;
}
@@ -14,7 +12,6 @@ pub struct Pba {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/pmu.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait PmuExt {
fn constrain(self) -> Pmu;
}
@@ -14,7 +12,6 @@ pub struct Pmu {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/port.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait PortExt {
fn constrain(self) -> Port;
}
@@ -14,7 +12,6 @@ pub struct Port {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/posif.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait PosifExt {
fn constrain(self) -> Posif;
}
@@ -14,7 +12,6 @@ pub struct Posif {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/ppb.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait PpbExt {
fn constrain(self) -> Ppb;
}
@@ -14,7 +12,6 @@ pub struct Ppb {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/pref.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait PrefExt {
fn constrain(self) -> Pref;
}
@@ -14,7 +12,6 @@ pub struct Pref {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/usb.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait UsbExt {
fn constrain(self) -> Usb;
}
@@ -14,7 +12,6 @@ pub struct Usb {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/usic.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait UsicExt {
fn constrain(self) -> Usic;
}
@@ -14,7 +12,6 @@ pub struct Usic {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/vadc.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait VadcExt {
fn constrain(self) -> Vadc;
}
@@ -14,7 +12,6 @@ pub struct Vadc {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.
3 changes: 0 additions & 3 deletions src/wdt.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


pub trait WdtExt {
fn constrain(self) -> Wdt;
}
@@ -14,7 +12,6 @@ pub struct Wdt {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE


#[cfg(test)]
mod tests {
// Note this useful idiom: importing names from outer (for mod tests) scope.