File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ pub impl PedersenImpl of PedersenTrait {
4747 /// # Examples
4848 ///
4949 /// ```
50+ /// use core::pedersen::PedersenTrait;
51+ ///
5052 /// let mut state = PedersenTrait::new(0);
5153 /// assert!(state.state == 0);
5254 /// ```
@@ -65,6 +67,9 @@ impl HashStateImpl of crate::hash::HashStateTrait<HashState> {
6567 /// # Examples
6668 ///
6769 /// ```
70+ /// use core::hash::HashStateTrait;
71+ /// use core::pedersen::PedersenTrait;
72+ ///
6873 /// let mut state = PedersenTrait::new(0);
6974 /// state = state.update(1);
7075 /// ```
@@ -80,6 +85,9 @@ impl HashStateImpl of crate::hash::HashStateTrait<HashState> {
8085 /// # Examples
8186 ///
8287 /// ```
88+ /// use core::hash::HashStateTrait;
89+ /// use core::pedersen::PedersenTrait;
90+ ///
8391 /// let mut state = PedersenTrait::new(0);
8492 /// state = state.update(1);
8593 /// let hash = state.finalize();
You can’t perform that action at this time.
0 commit comments