From 4501078ac1cc7759b117b9baeb386006318eac47 Mon Sep 17 00:00:00 2001 From: Jake Fecher Date: Fri, 22 Sep 2023 11:24:48 -0500 Subject: [PATCH] Fix warnings in stdlib --- noir_stdlib/src/lib.nr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noir_stdlib/src/lib.nr b/noir_stdlib/src/lib.nr index db2f0fc59b6..428eb77aa47 100644 --- a/noir_stdlib/src/lib.nr +++ b/noir_stdlib/src/lib.nr @@ -40,10 +40,10 @@ pub fn assert_constant(_x: T) {} // `as` should be the default for users to cast between primitive types, and in the future // traits can be used to work with generic types. #[builtin(from_field)] -fn from_field(x : Field) -> T {} +fn from_field(_x : Field) -> T {} #[builtin(as_field)] -fn as_field(x : T) -> Field {} +fn as_field(_x : T) -> Field {} pub fn wrapping_add(x : T, y: T) -> T {