diff options
| author | hachem <im@hachem.wtf> | 2025-12-06 20:48:13 +0100 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-12-06 20:48:13 +0100 |
| commit | c7f082381606700ed49c1d57f85aa4d38a9380e7 (patch) | |
| tree | a67ac688158f193824c4d6087618c2144f2de14f /libpsi-core/src/core/classical_components.rs | |
| parent | afdcdeec72d6cd9e24437d343e22676bae3a8f78 (diff) | |
[add]: complete gates and functional circuits
Diffstat (limited to 'libpsi-core/src/core/classical_components.rs')
| -rw-r--r-- | libpsi-core/src/core/classical_components.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |
