diff --git a/src/ch04-01-what-is-ownership.md b/src/ch04-01-what-is-ownership.md index bf41f116d2..a5e08bdd96 100644 --- a/src/ch04-01-what-is-ownership.md +++ b/src/ch04-01-what-is-ownership.md @@ -262,7 +262,7 @@ This program is more involved, so make sure you follow each step: ### Variables Cannot Be Used After Being Moved -The string program helps illustrate a key safety principle for ownership. Imagine that `first` were used in `main` after calling `add_suffix`. We can simulate such a program and see the undefined behavior that results: +The string program helps illustrate a key safety principle for ownership. Imagine that `first` was used in `main` after calling `add_suffix`. We can simulate such a program and see the undefined behavior that results: ```aquascope,interpreter,shouldFail fn main() { @@ -339,4 +339,4 @@ We have emphasized not just _how_ Rust's safeguards work, but _why_ they avoid u [^pointer-management]: In another sense, ownership is a discipline of *pointer* management. But we haven't described yet about how to create pointers to anywhere other than the heap. We'll get there in the next section. [`NameError`]: https://docs.python.org/3/library/exceptions.html#NameError -[`ReferenceError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError \ No newline at end of file +[`ReferenceError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError