diff --git a/ch05-01-method-syntax.html b/ch05-01-method-syntax.html index cf62ce952..14293ea5b 100644 --- a/ch05-01-method-syntax.html +++ b/ch05-01-method-syntax.html @@ -199,7 +199,7 @@ s.push_str(" world!"); assert_eq!("Hello, world!", s); -
Because push_str() has the following signature:
Because push_str() has the following signature:
fn push_str(&mut self, string: &str) {
This automatic referencing behavior works because methods have a clear receiver diff --git a/ch06-00-enums.html b/ch06-00-enums.html index 560dee26d..bda62694a 100644 --- a/ch06-00-enums.html +++ b/ch06-00-enums.html @@ -148,7 +148,7 @@ let home = IpAddr::V4(127, 0, 0, 1); let loopback = IpAddr::V6(String::from("::1"));
You can put any kind of data inside of an enum variant, including another enum!
-The IpAddr enum is in the standard library, but it embeds two
+The IpAddr enum is in the standard library, but it embeds two
different structs inside of its variants:
struct Ipv4Addr {
// details elided
diff --git a/print.html b/print.html
index b7cd23a98..12426e75a 100644
--- a/print.html
+++ b/print.html
@@ -3535,7 +3535,7 @@ s.push_str(" world!");
assert_eq!("Hello, world!", s);
-Because push_str() has the following signature:
Because push_str() has the following signature:
fn push_str(&mut self, string: &str) {
This automatic referencing behavior works because methods have a clear receiver @@ -3625,7 +3625,7 @@ let home = IpAddr::V4(127, 0, 0, 1); let loopback = IpAddr::V6(String::from("::1"));
You can put any kind of data inside of an enum variant, including another enum!
-The IpAddr enum is in the standard library, but it embeds two
+The IpAddr enum is in the standard library, but it embeds two
different structs inside of its variants:
struct Ipv4Addr {
// details elided