aboutsummaryrefslogtreecommitdiff
path: root/examples/tutorial02/polls
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial02/polls')
-rw-r--r--examples/tutorial02/polls/models.rs2
1 files changed, 1 insertions, 1 deletions
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!();