about summary refs log tree commit diff
path: root/doc/rust.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rust.md')
-rw-r--r--doc/rust.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/rust.md b/doc/rust.md
index 9f81b38009f..e23613e149c 100644
--- a/doc/rust.md
+++ b/doc/rust.md
@@ -1467,8 +1467,8 @@ A complete list of the built-in language items follows:
   : Elements can be subtracted.
 `mul`
   : Elements can be multiplied.
-`quot`
-  : Elements have a quotient operation.
+`div`
+  : Elements have a division operation.
 `rem`
   : Elements have a remainder operation.
 `neg`
@@ -1857,7 +1857,7 @@ The default meaning of the operators on standard types is given here.
     Calls the `mul` method on the `core::ops::Mul` trait.
 `/`
   : Quotient.
-    Calls the `quot` method on the `core::ops::Quot` trait.
+    Calls the `div` method on the `core::ops::Div` trait.
 `%`
   : Remainder.
     Calls the `rem` method on the `core::ops::Rem` trait.