Skip to content

Commit

Permalink
style: Set clippy in types
Browse files Browse the repository at this point in the history
  • Loading branch information
nmccarty committed Feb 15, 2022
1 parent c0e3b34 commit ec1ce9a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions phaselock-types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
let result = 2 + 2;
assert_eq!(result, 4);
}
}
//! Types and Traits for the `PhaseLock` consensus module
#![warn(
clippy::all,
clippy::pedantic,
rust_2018_idioms,
missing_docs,
clippy::missing_docs_in_private_items,
clippy::panic
)]

0 comments on commit ec1ce9a

Please sign in to comment.