Skip to content

Commit

Permalink
examples: enable more clippy categories for examples
Browse files Browse the repository at this point in the history
The existing clippy findings for the examples have been addressed. This
commit removes the `allow` configuration for `rsa-irc-openssl.rs` and
`rsa-irc.rs` so that we'll catch new warnings as clippy improves. This
will help keep the examples idiomatic and free of errors.
  • Loading branch information
cpu committed Nov 15, 2023
1 parent 1256085 commit 846ec85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions rcgen/examples/rsa-irc-openssl.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::complexity, clippy::style, clippy::pedantic)]

fn main() -> Result<(), Box<dyn std::error::Error>> {
use rcgen::{date_time_ymd, Certificate, CertificateParams, DistinguishedName};
use std::fmt::Write;
Expand Down
2 changes: 0 additions & 2 deletions rcgen/examples/rsa-irc.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::complexity, clippy::style, clippy::pedantic)]

fn main() -> Result<(), Box<dyn std::error::Error>> {
use rand::rngs::OsRng;
use rsa::pkcs8::EncodePrivateKey;
Expand Down

0 comments on commit 846ec85

Please sign in to comment.