Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Dec 20, 2024
1 parent dd193ff commit e4d9d86
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions crates/torii/grpc/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,14 @@ impl From<MemberValue> for member_value::ValueType {
member_value::ValueType::Primitive(primitive.into())
}
MemberValue::String(string) => member_value::ValueType::String(string),
MemberValue::List(list) => member_value::ValueType::List(proto::types::MemberValueList {
values: list.into_iter().map(|v| proto::types::MemberValue { value_type: Some(v.into()) }).collect(),
}),
MemberValue::List(list) => {
member_value::ValueType::List(proto::types::MemberValueList {
values: list
.into_iter()
.map(|v| proto::types::MemberValue { value_type: Some(v.into()) })
.collect(),
})

Check warning on line 428 in crates/torii/grpc/src/types/mod.rs

View check run for this annotation

Codecov / codecov/patch

crates/torii/grpc/src/types/mod.rs#L422-L428

Added lines #L422 - L428 were not covered by tests
}
}
}
}
Expand Down

0 comments on commit e4d9d86

Please sign in to comment.