Skip to content

Commit

Permalink
style: move #[allow(async_fn_in_trait)] comment to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisCraft committed Oct 29, 2023
1 parent f9eb0d5 commit ad9d484
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/jrsonnet-evaluator/src/async_import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ pub fn find_imports(expr: &LocExpr, out: &mut FoundImports) {
}
}

#[allow(async_fn_in_trait)] // we don't care about `Send` bound
// we don't care about `Send` bound
#[allow(async_fn_in_trait)]
pub trait AsyncImportResolver {
type Error;
/// Resolves file path, e.g. `(/home/user/manifests, b.libjsonnet)` can correspond
Expand Down

0 comments on commit ad9d484

Please sign in to comment.