From 3fca5a57d02796b722a1464134e55644afba836e Mon Sep 17 00:00:00 2001 From: Anton <anton.frappe@outlook.com> Date: Tue, 2 Mar 2021 15:19:21 +0100 Subject: [PATCH] bare1_1 --- examples/rtic_bare1.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/rtic_bare1.rs b/examples/rtic_bare1.rs index 11248f4..1a65d00 100644 --- a/examples/rtic_bare1.rs +++ b/examples/rtic_bare1.rs @@ -45,11 +45,12 @@ const APP: () = { // // Paste the error message: // -// ** your answer here ** +// panicked at 'attempt to add with overflow', examples/rtic_bare1.rs:24:13 // // Explain in your own words why the code panic:ed. // -// ** your answer here ** +// The program tried to add to 1 to an integer variable which already +// were on the integer max (2^32-1) thus resulting in a panic // // Commit your answer (bare1_1) // -- GitLab