Skip to content

Commit

Permalink
ecdsa: expand clippy lints (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Sep 7, 2022
1 parent cdb6baf commit 923f8a1
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions ecdsa/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,23 @@
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"
)]
#![forbid(unsafe_code, clippy::unwrap_used)]
#![warn(missing_docs, rust_2018_idioms)]
#![forbid(unsafe_code)]
#![warn(
clippy::cast_lossless,
clippy::cast_possible_truncation,
clippy::cast_possible_wrap,
clippy::cast_precision_loss,
clippy::cast_sign_loss,
clippy::checked_conversions,
clippy::implicit_saturating_sub,
clippy::panic,
clippy::panic_in_result_fn,
clippy::unwrap_used,
missing_docs,
rust_2018_idioms,
unused_lifetimes,
unused_qualifications
)]

//! ## `serde` support
//!
Expand Down

0 comments on commit 923f8a1

Please sign in to comment.