From 7b681a3a9cfcf94011cc103af0c93d9285979ee3 Mon Sep 17 00:00:00 2001 From: Nathan Barry <38043930+0xnathanbarry@users.noreply.github.com> Date: Fri, 13 May 2022 07:54:29 -0500 Subject: [PATCH] Fixed typo in reset test Someone forgot to change out the `-1` to a `0` when they copied and pasted to make the next text. --- docs/develop/contracts/rust/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/develop/contracts/rust/intro.md b/docs/develop/contracts/rust/intro.md index 383921cc9b1..90ba9750646 100644 --- a/docs/develop/contracts/rust/intro.md +++ b/docs/develop/contracts/rust/intro.md @@ -397,7 +397,7 @@ mod tests { contract.increment(); contract.reset(); println!("Value after reset: {}", contract.get_num()); - // confirm that we received -1 when calling get_num + // confirm that we received 0 when calling get_num assert_eq!(0, contract.get_num()); } }