Skip to content

Commit 778d82b

Browse files
committed
fixup clippy
1 parent 5e2af3e commit 778d82b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/cervo-core/src/model_api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ impl ModelApi {
5656
Ok(Self { outputs, inputs })
5757
}
5858

59+
// Note[TS]: Clippy wants us to use name...clone_into(&name) but that's illegal.
60+
#[allow(clippy::assigning_clones)]
5961
pub fn for_typed_model(model: &TypedModel) -> TractResult<Self> {
6062
let mut inputs: Vec<(String, Vec<usize>)> = Default::default();
6163

0 commit comments

Comments
 (0)