Skip to content

Commit

Permalink
Appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Imberflur committed Feb 25, 2023
1 parent 8eea70d commit 013ba01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
msrv = "1.56.1"
msrv = "1.65.0"
disallowed-types = ["std::collections::HashMap"]
1 change: 1 addition & 0 deletions src/meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ where
{
type Item = Ref<'a, T>;

#[allow(clippy::borrowed_box)] // variant of https://github.com/rust-lang/rust-clippy/issues/5770
fn next(&mut self) -> Option<<Self as Iterator>::Item> {
loop {
let resource_id = match self.tys.get(self.index) {
Expand Down

0 comments on commit 013ba01

Please sign in to comment.