about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-01-15 01:01:39 +0100
committerGitHub <noreply@github.com>2023-01-15 01:01:39 +0100
commitcdf462275a74a2c5068aa95a021358b281e9b538 (patch)
treeadf6687107f228725edb54a241bd79cb5c86a900
parent30b963c05cfe8df8981019c04c3cbdc2abf4a323 (diff)
parent208b781bdaca4343a8538f01abd6083e925046e6 (diff)
downloadrust-cdf462275a74a2c5068aa95a021358b281e9b538.tar.gz
rust-cdf462275a74a2c5068aa95a021358b281e9b538.zip
Rollup merge of #106880 - tspiteri:borrowing-sub-typo, r=cuviper
doc: fix typo
-rw-r--r--library/core/src/num/int_macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs
index 7071a656d61..2cae98b8e49 100644
--- a/library/core/src/num/int_macros.rs
+++ b/library/core/src/num/int_macros.rs
@@ -1625,7 +1625,7 @@ macro_rules! int_impl {
         /// overflow.
         ///
         /// Performs "ternary subtraction" by subtracting both an integer
-        /// operandand a borrow-in bit from `self`, and returns a tuple of the
+        /// operand and a borrow-in bit from `self`, and returns a tuple of the
         /// difference along with a boolean indicating whether an arithmetic
         /// overflow would occur. On overflow, the wrapped value is returned.
         ///