diff --git a/ch03-02-data-types.html b/ch03-02-data-types.html index 6a8b773fb..6deba3c1f 100644 --- a/ch03-02-data-types.html +++ b/ch03-02-data-types.html @@ -168,7 +168,7 @@ Chapter XX for how to run benchmarks.

Numeric Operations

Rust supports the usual basic mathematic operations you’d expect for all of these number types: addition, subtraction, multiplication, division, and -modulo. This code shows how you'd use each one in a let statement:

+remainder. This code shows how you'd use each one in a let statement:

Filename: src/main.rs

fn main() {
     // addition
@@ -183,7 +183,7 @@ modulo. This code shows how you'd use each one in a let statement:<
     // division
     let quotient = 56.7 / 32.2;
 
-    // modulo
+    // remainder
     let remainder = 43 % 5;
 }
 
diff --git a/print.html b/print.html index b68099b62..a09d3d471 100644 --- a/print.html +++ b/print.html @@ -1549,7 +1549,7 @@ Chapter XX for how to run benchmarks.

Numeric Operations

Rust supports the usual basic mathematic operations you’d expect for all of these number types: addition, subtraction, multiplication, division, and -modulo. This code shows how you'd use each one in a let statement:

+remainder. This code shows how you'd use each one in a let statement:

Filename: src/main.rs

fn main() {
     // addition
@@ -1564,7 +1564,7 @@ modulo. This code shows how you'd use each one in a let statement:<
     // division
     let quotient = 56.7 / 32.2;
 
-    // modulo
+    // remainder
     let remainder = 43 % 5;
 }