From 2facee78017d366e84a74a8f44a880a34662aaf4 Mon Sep 17 00:00:00 2001 From: Sudo Nice Date: Mon, 21 Sep 2020 08:58:57 +0300 Subject: [PATCH] Replace "square brackets" -> "angle brackets" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2cc9f56..198cd54 100644 --- a/README.md +++ b/README.md @@ -3583,7 +3583,7 @@ enum Option { fn main() {} ``` -The important point to remember: with `Some`, you have a value of type `T` (any type). Also note that the square brackets after the `enum` name around `` is what tells the compiler that it's generic. It has no trait like `Display` or anything to limit it, so it can be anything. But with `None`, you don't have anything. +The important point to remember: with `Some`, you have a value of type `T` (any type). Also note that the angle brackets after the `enum` name around `T` is what tells the compiler that it's generic. It has no trait like `Display` or anything to limit it, so it can be anything. But with `None`, you don't have anything. So in a `match` statement for Option you can't say: