Skip to content

Commit c11ed1f

Browse files
authored
Fixed typo in reset test (#1062)
Someone forgot to change out the `-1` to a `0` when they copied and pasted to make the next text.
1 parent 05bb89c commit c11ed1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/develop/contracts/rust/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ mod tests {
397397
contract.increment();
398398
contract.reset();
399399
println!("Value after reset: {}", contract.get_num());
400-
// confirm that we received -1 when calling get_num
400+
// confirm that we received 0 when calling get_num
401401
assert_eq!(0, contract.get_num());
402402
}
403403
}

0 commit comments

Comments
 (0)