Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-kong committed Aug 27, 2024
1 parent b0e2a75 commit 7f6960c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions backon/src/blocking_retry.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::thread;
use core::time::Duration;
use std::thread;

use crate::backoff::BackoffBuilder;
use crate::Backoff;
Expand Down Expand Up @@ -198,8 +198,8 @@ where

#[cfg(test)]
mod tests {
use std::sync::Mutex;
use core::time::Duration;
use std::sync::Mutex;

use super::*;
use crate::ExponentialBuilder;
Expand Down
2 changes: 1 addition & 1 deletion backon/src/blocking_retry_with_context.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::thread;
use core::time::Duration;
use std::thread;

use crate::backoff::BackoffBuilder;
use crate::Backoff;
Expand Down
1 change: 0 additions & 1 deletion backon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
#![deny(missing_docs)]
#![deny(unused_qualifications)]

#![no_std]
#[cfg(feature = "std")]
extern crate std;
Expand Down

0 comments on commit 7f6960c

Please sign in to comment.