X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/b60c82e9d3b03aa36484c1ff68f34f4e78862d46..e73ddf5e1d4768cb86fba3eb583f4fec0286acff:/src/part08.rs?ds=sidebyside diff --git a/src/part08.rs b/src/part08.rs index 4ef9d74..feb2abc 100644 --- a/src/part08.rs +++ b/src/part08.rs @@ -28,7 +28,7 @@ fn overflowing_add(a: u64, b: u64, carry: bool) -> (u64, bool) { // **Exercise 08.1**: Write the code to handle adding the carry in this case. unimplemented!() } else { - // The addition *did* overflow. It is impossible for the addition of the carry + // Otherwise, the addition *did* overflow. It is impossible for the addition of the carry // to overflow again, as we are just adding 0 or 1. (sum + if carry { 1 } else { 0 }, true) /*@*/ }