Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6425413

Browse files
authored
grammar: which vs that
1 parent 1836e3b commit 6425413

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/liballoc/fmt.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
//! The internal iterator over the argument has not been advanced by the time
5151
//! the first `{}` is seen, so it prints the first argument. Then upon reaching
5252
//! the second `{}`, the iterator has advanced forward to the second argument.
53-
//! Essentially, parameters which explicitly name their argument do not affect
54-
//! parameters which do not name an argument in terms of positional specifiers.
53+
//! Essentially, parameters that explicitly name their argument do not affect
54+
//! parameters that do not name an argument in terms of positional specifiers.
5555
//!
5656
//! A format string is required to use all of its arguments, otherwise it is a
5757
//! compile-time error. You may refer to the same argument more than once in the
@@ -60,7 +60,7 @@
6060
//! ## Named parameters
6161
//!
6262
//! Rust itself does not have a Python-like equivalent of named parameters to a
63-
//! function, but the [`format!`] macro is a syntax extension which allows it to
63+
//! function, but the [`format!`] macro is a syntax extension that allows it to
6464
//! leverage named parameters. Named parameters are listed at the end of the
6565
//! argument list and have the syntax:
6666
//!
@@ -77,7 +77,7 @@
7777
//! ```
7878
//!
7979
//! It is not valid to put positional parameters (those without names) after
80-
//! arguments which have names. Like with positional parameters, it is not
80+
//! arguments that have names. Like with positional parameters, it is not
8181
//! valid to provide named parameters that are unused by the format string.
8282
//!
8383
//! # Formatting Parameters

0 commit comments

Comments
 (0)