From c7f082381606700ed49c1d57f85aa4d38a9380e7 Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 6 Dec 2025 20:48:13 +0100 Subject: [add]: complete gates and functional circuits --- libpsi-core/src/core/classical_components.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpsi-core/src/core/classical_components.rs') diff --git a/libpsi-core/src/core/classical_components.rs b/libpsi-core/src/core/classical_components.rs index 6710e9d..f6565af 100644 --- a/libpsi-core/src/core/classical_components.rs +++ b/libpsi-core/src/core/classical_components.rs @@ -13,7 +13,7 @@ pub struct ClassicalRegister<'a> { } impl<'a> ClassicalBit<'a> { - pub fn new(name: &'a str, state: bool) -> ClassicalBit { + pub fn new(name: &'a str, state: bool) -> ClassicalBit<'a> { ClassicalBit { name, state } } -- cgit v1.3