From afe0d4b72cd88958e663ea0723e041f831b18a9b Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sun, 11 Dec 2016 17:19:54 +0000 Subject: [PATCH] rebuild pages at d95ab62 --- ch10-01-syntax.html | 6 +++--- print.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ch10-01-syntax.html b/ch10-01-syntax.html index 7a7b5947d..e32bdca78 100644 --- a/ch10-01-syntax.html +++ b/ch10-01-syntax.html @@ -150,9 +150,9 @@ be similar to using an argument to a function in the body without declaring it in the signature. We need to tell Rust that we've introduced a generic parameter. The syntax to do that is the angle brackets, like this:

enum OptionalNumber<T> {   enum OptionalFloatingPointNumber<T> {
-    Some(T),                Some(T),
-    None,                   None,
-}                       }
+    Some(T),                   Some(T),
+    None,                      None,
+}                          }
 

The <>s after the enum name indicate a list of type parameters, just like () after a function name indicates a list of value parameters. Now the only diff --git a/print.html b/print.html index e143b54bf..ef8852c5a 100644 --- a/print.html +++ b/print.html @@ -7072,9 +7072,9 @@ be similar to using an argument to a function in the body without declaring it in the signature. We need to tell Rust that we've introduced a generic parameter. The syntax to do that is the angle brackets, like this:

enum OptionalNumber<T> {   enum OptionalFloatingPointNumber<T> {
-    Some(T),                Some(T),
-    None,                   None,
-}                       }
+    Some(T),                   Some(T),
+    None,                      None,
+}                          }
 

The <>s after the enum name indicate a list of type parameters, just like () after a function name indicates a list of value parameters. Now the only