about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2020-05-06 18:56:25 -0400
committerGitHub <noreply@github.com>2020-05-06 18:56:25 -0400
commit642541307fcf3773cfdae99db07d51d0436b6360 (patch)
treecab8792322fc9dc370c56d860ad0fc307bd665b5 /src
parent1836e3b42a5b2f37fd79104eedbe8f48a5afdee6 (diff)
downloadrust-642541307fcf3773cfdae99db07d51d0436b6360.tar.gz
rust-642541307fcf3773cfdae99db07d51d0436b6360.zip
grammar: which vs that
Diffstat (limited to 'src')
-rw-r--r--src/liballoc/fmt.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liballoc/fmt.rs b/src/liballoc/fmt.rs
index 13ef2f063f9..959bbeb12d9 100644
--- a/src/liballoc/fmt.rs
+++ b/src/liballoc/fmt.rs
@@ -50,8 +50,8 @@
 //! The internal iterator over the argument has not been advanced by the time
 //! the first `{}` is seen, so it prints the first argument. Then upon reaching
 //! the second `{}`, the iterator has advanced forward to the second argument.
-//! Essentially, parameters which explicitly name their argument do not affect
-//! parameters which do not name an argument in terms of positional specifiers.
+//! Essentially, parameters that explicitly name their argument do not affect
+//! parameters that do not name an argument in terms of positional specifiers.
 //!
 //! A format string is required to use all of its arguments, otherwise it is a
 //! compile-time error. You may refer to the same argument more than once in the
@@ -60,7 +60,7 @@
 //! ## Named parameters
 //!
 //! Rust itself does not have a Python-like equivalent of named parameters to a
-//! function, but the [`format!`] macro is a syntax extension which allows it to
+//! function, but the [`format!`] macro is a syntax extension that allows it to
 //! leverage named parameters. Named parameters are listed at the end of the
 //! argument list and have the syntax:
 //!
@@ -77,7 +77,7 @@
 //! ```
 //!
 //! It is not valid to put positional parameters (those without names) after
-//! arguments which have names. Like with positional parameters, it is not
+//! arguments that have names. Like with positional parameters, it is not
 //! valid to provide named parameters that are unused by the format string.
 //!
 //! # Formatting Parameters