Skip to content

Commit

Permalink
satisfy cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkrapido committed Nov 1, 2023
1 parent 454f93c commit 44ce50a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- name: Run rust fmt
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: fmt
args: --all -- --check
- name: Install clippy component
Expand All @@ -38,5 +39,3 @@ jobs:
with:
command: clippy
args: --release -- -D warnings


2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ pub mod services;
#[cfg(test)]
mod tests;

use crate::services::output::output_formatter;
#[cfg(feature = "with-logging")]
use std::sync::Once;
use crate::services::output::output_formatter;

// Static flag to ensure logger init happens only once
#[cfg(feature = "with-logging")]
Expand Down

0 comments on commit 44ce50a

Please sign in to comment.