diff --git a/src/github.rs b/src/github.rs index 3b8d7ae8..fac6685e 100644 --- a/src/github.rs +++ b/src/github.rs @@ -9,7 +9,6 @@ use regex::Regex; use reqwest::header::{AUTHORIZATION, USER_AGENT}; use reqwest::{Client, Request, RequestBuilder, Response, StatusCode}; use std::collections::{HashMap, HashSet}; -use std::convert::TryInto; use std::{ fmt, time::{Duration, SystemTime}, diff --git a/src/handlers/assign/tests/tests_from_diff.rs b/src/handlers/assign/tests/tests_from_diff.rs index 7cd418be..62d6ed65 100644 --- a/src/handlers/assign/tests/tests_from_diff.rs +++ b/src/handlers/assign/tests/tests_from_diff.rs @@ -1,7 +1,6 @@ //! Tests for `find_reviewers_from_diff` use super::super::*; -use crate::config::AssignConfig; use crate::github::parse_diff; use std::fmt::Write; diff --git a/src/handlers/notification.rs b/src/handlers/notification.rs index 782ba261..37c25a67 100644 --- a/src/handlers/notification.rs +++ b/src/handlers/notification.rs @@ -11,7 +11,6 @@ use crate::{ }; use anyhow::Context as _; use std::collections::HashSet; -use std::convert::TryInto; use tracing as log; pub async fn handle(ctx: &Context, event: &Event) -> anyhow::Result<()> { diff --git a/src/handlers/rustc_commits.rs b/src/handlers/rustc_commits.rs index 8af28234..ff10ad0a 100644 --- a/src/handlers/rustc_commits.rs +++ b/src/handlers/rustc_commits.rs @@ -7,7 +7,6 @@ use crate::{ }; use async_trait::async_trait; use std::collections::VecDeque; -use std::convert::TryInto; use tracing as log; const BORS_GH_ID: u64 = 3372342; diff --git a/src/zulip.rs b/src/zulip.rs index f3546b88..929cb4ba 100644 --- a/src/zulip.rs +++ b/src/zulip.rs @@ -5,7 +5,6 @@ use crate::handlers::docs_update::docs_update; use crate::handlers::pull_requests_assignment_update::get_review_prefs; use crate::handlers::Context; use anyhow::{format_err, Context as _}; -use std::convert::TryInto; use std::env; use std::fmt::Write as _; use tracing as log;