We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a4a654 + f316528 commit c66f6e2Copy full SHA for c66f6e2
src/krate.rs
@@ -780,7 +780,6 @@ impl Model for Crate {
780
}
781
782
/// Handles the `GET /crates` route.
783
-#[allow(trivial_casts)]
784
pub fn index(req: &mut Request) -> CargoResult<Response> {
785
use diesel::expression::AsExpression;
786
use diesel::types::Bool;
src/util/errors.rs
@@ -105,7 +105,6 @@ where
105
106
107
impl<T, E: CargoError> ChainError<T> for Result<T, E> {
108
- #[allow(trivial_casts)]
109
fn chain_error<E2, C>(self, callback: C) -> CargoResult<T>
110
where
111
E2: CargoError,
0 commit comments