Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Aug 14, 2024
1 parent 0256a9d commit f4d54e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion axiom-components/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![feature(associated_type_defaults)]
#![feature(associated_type_bounds)]
#![feature(return_position_impl_trait_in_trait)]
#![allow(incomplete_features)]
#![feature(generic_const_exprs)]
pub use axiom_eth::utils::component as framework;
Expand Down
2 changes: 1 addition & 1 deletion axiom-components/src/scaffold/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ where
capacity
);
}
input.resize(capacity, input.get(0).unwrap().clone());
input.resize(capacity, input.first().unwrap().clone());
self.input = Some(input);
Ok(())
}
Expand Down

0 comments on commit f4d54e3

Please sign in to comment.