Update ch04-02-ownership.md

This commit is contained in:
Jonathan Turner 2016-07-08 15:58:41 -04:00 committed by GitHub
parent aa8e2305c4
commit 5c106c9c23

View File

@ -21,8 +21,8 @@ some examples, focusing on a very common data structure: strings.
## Variable binding scope
We've walked through an example of a Rust program already in the tutorial chapter.
Now that were past basic syntax, we wont include all of the fn main() { stuff in
examples, so if youre following along, you will have to put them inside of a main()
Now that were past basic syntax, we wont include all of the `fn main() {` stuff in
examples, so if youre following along, you will have to put them inside of a `main()`
function. This lets our examples be a bit more concise, letting us focus on the actual
details rather than boilerplate.