Skip to content

Commit b03725b

Browse files
committed
format attributes filter
1 parent efa7d4d commit b03725b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/wasm/types.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,9 @@ pub struct AttributeFilter {
321321
pub trait_value: String,
322322
}
323323

324-
325324
impl From<AttributeFilter> for torii_proto::TokenAttributeFilter {
326325
fn from(value: AttributeFilter) -> Self {
327-
Self {
328-
trait_name: value.trait_name,
329-
trait_value: value.trait_value,
330-
}
326+
Self { trait_name: value.trait_name, trait_value: value.trait_value }
331327
}
332328
}
333329

0 commit comments

Comments
 (0)