about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix Raimundo <felix.raimundo@telecom-paristech.fr>2014-10-13 00:13:41 +0200
committerFelix Raimundo <felix.raimundo@telecom-paristech.fr>2014-10-13 00:13:41 +0200
commit1cbce309fe2a2fb91577eb8010a378f4ae32daa8 (patch)
tree3d15cf820267c89746726482d38295e0040ae046 /src
parent38517d0eba2ee69443449fbe6b1ce7dea7deca7b (diff)
downloadrust-1cbce309fe2a2fb91577eb8010a378f4ae32daa8.tar.gz
rust-1cbce309fe2a2fb91577eb8010a378f4ae32daa8.zip
Fixes small error on the doc (task part)
Diffstat (limited to 'src')
-rw-r--r--src/doc/guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index 4e9966cb3db..ece6af0af01 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -5062,8 +5062,8 @@ println!("The value of x[0] is: {}", x[0]); // error: use of moved value: `x`
 ```
 
 `x` is now owned by the proc, and so we can't use it anymore. Many other
-languages would let us do this, but it's not safe to do so. Rust's type system
-catches the error.
+languages would let us do this, but it's not safe to do so. Rust's borrow
+checker catches the error.
 
 If tasks were only able to capture these values, they wouldn't be very useful.
 Luckily, tasks can communicate with each other through **channel**s. Channels