]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #27317 - midinastasurazz:patch-1, r=Gankro
authorbors <bors@rust-lang.org>
Mon, 27 Jul 2015 14:59:27 +0000 (14:59 +0000)
committerbors <bors@rust-lang.org>
Mon, 27 Jul 2015 14:59:27 +0000 (14:59 +0000)
r? @steveklabnik

src/doc/trpl/choosing-your-guarantees.md

index db28ce6f428618427dae36aeea4828a120c6475b..1d3c76ce231b91a019e9ed0e6b1cbe8345b0b70a 100644 (file)
@@ -81,7 +81,7 @@ The main guarantee provided here is that the data will not be destroyed until al
 are out of scope.
 
 This should be used when we wish to dynamically allocate and share some data (read-only) between
-various portions of yur program, where it is not certain which portion will finish using the pointer
+various portions of your program, where it is not certain which portion will finish using the pointer
 last. It's a viable alternative to `&T` when `&T` is either impossible to statically check for
 correctness, or creates extremely unergonomic code where the programmer does not wish to spend the
 development cost of working with.