Skip to content

Commit

Permalink
Remove redundant imports
Browse files Browse the repository at this point in the history
We require edition 2021 and those are in the prelude.
  • Loading branch information
matze committed Mar 18, 2024
1 parent 598dac9 commit b5beb12
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use crate::env;
use crate::errors::Error;
use chacha20poly1305::aead::{Aead, AeadCore, KeyInit, OsRng};
use chacha20poly1305::{Key, XChaCha20Poly1305, XNonce};
use std::convert::From;
use std::sync::OnceLock;
use tokio::task::spawn_blocking;

Expand Down
1 change: 0 additions & 1 deletion src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use std::env::VarError;
use std::net::SocketAddr;
use std::num::{NonZeroUsize, ParseIntError};
use std::path::PathBuf;
use std::string::String;
use std::sync::OnceLock;
use std::time::Duration;

Expand Down
1 change: 0 additions & 1 deletion src/pages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use crate::highlight::Html;
use crate::routes::paste::{Format, QueryData};
use askama::Template;
use axum::http::StatusCode;
use std::default::Default;

/// Error page showing a message.
#[derive(Template)]
Expand Down

0 comments on commit b5beb12

Please sign in to comment.