Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
AnActualEmerald committed Apr 21, 2024
1 parent 6130708 commit 992531f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@

packages.default = packages.papa;

app.default = {
type = "app";
program = packages.default;
};

formatter = pkgs.alejandra;

devShells.default = pkgs.mkShell {
nativeBuildInputs = buildDeps;
packages = [pkgs.just pkgs.cargo pkgs.cargo-watch pkgs.rust-analyzer];
packages = [pkgs.just pkgs.cargo pkgs.clippy pkgs.cargo-watch pkgs.rust-analyzer];
};
});
}
2 changes: 1 addition & 1 deletion src/core/commands/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::{
io::{ErrorKind, IsTerminal, Write},
};

use anyhow::{Context, Result};
use anyhow::{Result};
use owo_colors::OwoColorize;
use thermite::prelude::*;
use tracing::{debug, error, trace};
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use clap::{CommandFactory, Parser, Subcommand, ValueHint};
use clap_complete::{generate, Shell};
use tracing::{debug, error};
use tracing_subscriber::{
fmt, layer::SubscriberExt, util::SubscriberInitExt, EnvFilter, FmtSubscriber, Layer, Registry,
fmt, layer::SubscriberExt, util::SubscriberInitExt, EnvFilter, Layer, Registry,
};

pub mod config;
Expand Down

0 comments on commit 992531f

Please sign in to comment.