diff --git a/src/ch04-01-what-is-ownership.md b/src/ch04-01-what-is-ownership.md index 64a80363ab..e2fe3f93fe 100644 --- a/src/ch04-01-what-is-ownership.md +++ b/src/ch04-01-what-is-ownership.md @@ -388,10 +388,13 @@ we add the `Copy` annotation to that type, we’ll get a compile-time error. To learn about how to add the `Copy` annotation to your type, see [“Derivable Traits”][derivable-traits] in Appendix C. -So what types are `Copy`? You can check the documentation for the given type to -be sure, but as a general rule, any group of simple scalar values can be -`Copy`, and nothing that requires allocation or is some form of resource is -`Copy`. Here are some of the types that are `Copy`: +So what types are `Copy`able? You can check the documentation for the given type to +be sure, but as a general rule: + +1. Any group of simple scalar values can have the `Copy` trait, +2. Nothing that requires allocation or is some form of resource is `Copy`able. + +Here are some of the types that are `Copy`able: * All the integer types, such as `u32`. * The Boolean type, `bool`, with values `true` and `false`. diff --git a/src/ch08-02-strings.md b/src/ch08-02-strings.md index 7e24577b87..18314e9bbf 100644 --- a/src/ch08-02-strings.md +++ b/src/ch08-02-strings.md @@ -130,7 +130,7 @@ If the `push_str` method took ownership of `s2`, we wouldn’t be able to print its value on the last line. However, this code works as we’d expect! The `push` method takes a single character as a parameter and adds it to the -`String`. Listing 8-17 shows code that adds the letter *l* to a `String` using +`String`. Listing 8-17 shows code that adds the letter "l" to a `String` using the `push` method. ```rust