Add comment

This commit is contained in:
Robin Salen 2024-01-08 09:38:55 +01:00
parent 3c8b150f0f
commit ed2e1bc780
No known key found for this signature in database
GPG Key ID: F98FD38F65687358

View File

@ -112,7 +112,9 @@ pub struct LookupWire {
/// let mut prev_target = initial_a;
/// let mut cur_target = initial_b;
/// for _ in 0..99 {
/// // Encode an addition of the two previous terms
/// let temp = builder.add(prev_target, cur_target);
/// // Shift the two previous terms with the new value
/// prev_target = cur_target;
/// cur_target = temp;
/// }