From 66b7926e976185111dbbf1ccb6696bddde6555de Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 7 Nov 2024 16:46:57 -0500 Subject: WARP: Remove unneeded ref in type conversion --- plugins/warp/src/plugin/create.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/warp/src/plugin') 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 -- cgit v1.3.1