]> git.lizzy.rs Git - rust.git/commitdiff
Fix a typo in ownership guide, aquire to acquire.
authorjbranchaud <jbranchaud@gmail.com>
Sat, 13 Dec 2014 16:56:19 +0000 (10:56 -0600)
committerjbranchaud <jbranchaud@gmail.com>
Sat, 13 Dec 2014 16:56:19 +0000 (10:56 -0600)
src/doc/guide-ownership.md

index aebafebf98ed376e893084fac84f8e4f51a5597f..4ec2137d3fcfa121c957f8415135788c535337b9 100644 (file)
@@ -208,7 +208,7 @@ the function is over, and `num` goes out of scope, the borrow is over.
 Lending out a reference to a resource that someone else owns can be
 complicated, however. For example, imagine this set of operations:
 
-1. I aquire a handle to some kind of resource.
+1. I acquire a handle to some kind of resource.
 2. I lend you a reference to the resource.
 3. I decide I'm done with the resource, and deallocate it, while you still have
    your reference.