You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: zkllvm/use-cases/zk-bridge/zkbridge.mdx
+26-6Lines changed: 26 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -91,12 +91,13 @@ Read the following tutorials before proceeding further.
91
91
92
92
:::info[Rust directives]
93
93
94
-
The `#[derive(Copy, Clone)]` makes it so that circuit code does not unintentionally take ownership of variables that are supposed to be changed/used later.
94
+
The `#[derive(Copy, Clone)]` makes it so functions do not take ownership of the variables belonging to custom structs if these variables are passed by value.
95
95
96
96
To learn more about the `#[derive(C)]` directive, [**click here**](../../best-practices-limitations/rust-derive).
97
97
98
98
:::
99
99
100
+
100
101
### Additional functions
101
102
102
103
<TabsgroupId='language'>
@@ -214,13 +215,31 @@ To learn more about the `#[derive(C)]` directive, [**click here**](../../best-pr
0 commit comments