Skip to content

Commit 0888a94

Browse files
Fix typos
Co-authored-by: Rageking8 <106309953+Rageking8@users.noreply.github.com>
1 parent 820c1c5 commit 0888a94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/std/src/keyword_docs.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ mod return_keyword {}
12601260
/// is part of a recursive cycle in the call graph.
12611261
///
12621262
/// For example note that the functions `halt` and `halt_loop` below are
1263-
/// identical, they both do nothing, forever. However `stack_overflow` is
1263+
/// identical, they both do nothing, forever. However, `stack_overflow` is
12641264
/// different from them, even though it is written almost identically to
12651265
/// `halt`, `stack_overflow` exhausts the stack and so causes a stack
12661266
/// overflow, instead of running forever.
@@ -1284,10 +1284,10 @@ mod return_keyword {}
12841284
/// }
12851285
/// ```
12861286
///
1287-
/// Note that from the algorithmic standpoint loops and tail-calls are
1287+
/// Note that from an algorithmic standpoint, loops and tail-calls are
12881288
/// interchangeable, you can always rewrite a loop to use tail-calls
12891289
/// instead and vice versa. They are, however, very different in the code
1290-
/// structure, so sometimes one approach can make more sense that the other.
1290+
/// structure, so sometimes one approach can make more sense than the other.
12911291
#[cfg(not(bootstrap))]
12921292
mod become_keyword {}
12931293

0 commit comments

Comments
 (0)