summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-11-07 16:46:57 -0500
committerMason Reed <mason@vector35.com>2024-11-08 03:13:53 -0500
commit66b7926e976185111dbbf1ccb6696bddde6555de (patch)
tree702efc2f568cc13d7079a49efdd820406f45d87d /plugins/warp/src/plugin
parentd6e1624cff2b5d5eac57e0bf99ca1dac8437f9a5 (diff)
WARP: Remove unneeded ref in type conversion
Diffstat (limited to 'plugins/warp/src/plugin')
-rw-r--r--plugins/warp/src/plugin/create.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/warp/src/plugin/create.rs b/plugins/warp/src/plugin/create.rs
index 966c69ca..d2f1924b 100644
--- a/plugins/warp/src/plugin/create.rs
+++ b/plugins/warp/src/plugin/create.rs
@@ -38,7 +38,7 @@ impl Command for CreateSignatureFile {
}));
data.types.extend(view.types().iter().map(|ty| {
let ref_ty = ty.type_object().to_owned();
- ComputedType::new(from_bn_type(&view, ref_ty, u8::MAX))
+ ComputedType::new(from_bn_type(&view, &ref_ty, u8::MAX))
}));
// And type generation :3