Skip to content

Commit

Permalink
server: Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-jplatte committed Feb 6, 2024
1 parent 003d394 commit 5977e8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridge/svix-bridge/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fn setup_tracing(cfg: &Config) {
if std::env::var_os("RUST_LOG").is_none() {
const CRATE_NAME: &str = env!("CARGO_CRATE_NAME");
let level = cfg.log_level.to_string();
let var = vec![
let var = [
format!("{CRATE_NAME}={level}"),
// XXX: Assuming this applies to the Producer side (aka `og-ingester`) when we fold it back in.
format!("tower_http={level}"),
Expand Down
2 changes: 1 addition & 1 deletion server/svix-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ async fn main() {
let mut openapi = svix_server::openapi::initialize_openapi();

let router = svix_server::v1::router();
aide::axum::ApiRouter::new()
_ = aide::axum::ApiRouter::new()
.nest("/api/v1", router)
.finish_api(&mut openapi);

Expand Down

0 comments on commit 5977e8b

Please sign in to comment.