]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/second-edition/src/ch03-05-control-flow.md
New upstream version 1.25.0+dfsg1
[rustc.git] / src / doc / book / second-edition / src / ch03-05-control-flow.md
index 27d324e5b99e61bbc8dea65c013e3c768472254c..749be3fea8f37bd6bbde61a21710472a3dfa52f3 100644 (file)
@@ -283,7 +283,7 @@ fn main() {
 
 When we run this program, we’ll see `again!` printed over and over continuously
 until we stop the program manually. Most terminals support a keyboard shortcut,
-<span class="keystroke">ctrl-C</span>, to halt a program that is stuck in a
+<span class="keystroke">ctrl-c</span>, to halt a program that is stuck in a
 continual loop. Give it a try:
 
 ```text
@@ -298,7 +298,7 @@ again!
 ^Cagain!
 ```
 
-The symbol `^C` represents where you pressed <span class="keystroke">ctrl-C
+The symbol `^C` represents where you pressed <span class="keystroke">ctrl-c
 </span>. You may or may not see the word `again!` printed after the `^C`,
 depending on where the code was in the loop when it received the halt signal.