Skip to content

Commit

Permalink
Update attributes.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
crStiv authored Jan 8, 2025
1 parent 1145ec4 commit 3635619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct Attributes {
pub max_output_size: u64,
}

pub fn parse_attributes(attr: &Vec<NestedMeta>) -> Attributes {
pub fn parse_attributes(attr: &[NestedMeta]) -> Attributes {
let mut attributes = HashMap::<_, u64>::new();
let mut wasm = false;

Expand Down

0 comments on commit 3635619

Please sign in to comment.