From b4c7c3cd480e626ac78b49ab91a95340ccfef26a Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 30 Jun 2021 15:58:48 -0600 Subject: finish inserting save_mut for models --- examples/tutorial02/polls/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/tutorial02/polls') diff --git a/examples/tutorial02/polls/models.rs b/examples/tutorial02/polls/models.rs index 48e58cc..cd480da 100644 --- a/examples/tutorial02/polls/models.rs +++ b/examples/tutorial02/polls/models.rs @@ -17,7 +17,7 @@ pub struct Choice { #[model(max_length = 200)] choice_text: String, #[model(default = 0)] - votes: usize, + votes: i64, } gather!(); -- cgit v1.2.3