Skip to content

Commit

Permalink
More lints and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudy committed Dec 3, 2023
1 parent 289d503 commit 1871747
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/low-level/pebble-schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.build()?;

tracing::info!("Loading private key from {PRIVATE_KEY_PATH:?}");
let key = Arc::new((read_private_key(PRIVATE_KEY_PATH)?));
let key = Arc::new(read_private_key(PRIVATE_KEY_PATH)?);

// Step 1: Get an account
tracing::info!("Requesting account");
Expand Down
2 changes: 1 addition & 1 deletion examples/low-level/show-request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.build()?;

tracing::info!("Loading private key from {PRIVATE_KEY_PATH:?}");
let key = Arc::new((read_private_key(PRIVATE_KEY_PATH)?));
let key = Arc::new(read_private_key(PRIVATE_KEY_PATH)?);

// Step 1: Get an account
tracing::info!("Requesting account");
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl ClientBuilder {
///
/// let key: Arc<::ecdsa::SigningKey<p256::NistP256>> = Arc::new(::ecdsa::SigningKey::random(&mut OsRng));
///
/// let mut client = Client::default();
/// let mut client = AcmeClient::default();
/// client.set_new_nonce_url("https://acme.example.com/new-nonce".parse().unwrap());
///
/// let request = Request::get("https://acme.example.com/account/1".parse().unwrap(), key);
Expand Down

0 comments on commit 1871747

Please sign in to comment.