about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKieran Hunt <kieran.hunt92@gmail.com>2015-08-01 22:02:00 +0200
committerKieran Hunt <kieran.hunt92@gmail.com>2015-08-01 22:02:00 +0200
commita989ed8880ee63df120c2e2cd073e41e6beed4e3 (patch)
treebde44989be6bef141ec114cb9093fcaecc7cfd89 /src
parent4a5194a6d568644d40f6fa4dd2d5356c581eeb84 (diff)
downloadrust-a989ed8880ee63df120c2e2cd073e41e6beed4e3.tar.gz
rust-a989ed8880ee63df120c2e2cd073e41e6beed4e3.zip
Adding an ignore annotation to an infinite loop so that it wont hang the tester.
Diffstat (limited to 'src')
-rw-r--r--src/doc/trpl/loops.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/loops.md b/src/doc/trpl/loops.md
index 91ff832a19a..a91fb8dadaf 100644
--- a/src/doc/trpl/loops.md
+++ b/src/doc/trpl/loops.md
@@ -6,7 +6,7 @@ Rust currently provides three approaches to performing some kind of iterative ac
 
 The infinite `loop` is the simplest form of loop available in Rust. Using the keyword `loop`, Rust provides a way to loop indefinitely until some terminating statement is reached. Rust's infinite `loop`s look like this:
 
-```rust
+```rust,ignore
 loop {
     println!("Loop forever!");
 }