diff options
| author | bors <bors@rust-lang.org> | 2015-01-07 15:35:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-07 15:35:28 +0000 |
| commit | 7377c0b1a91f48c95bf6d0b1b179f4fbada70869 (patch) | |
| tree | 1a7572c9732ebaab588bfbe1cd40ab0c99723a7d | |
| parent | 5064c8d9dca1cecb946f469d0736f5ac9e281279 (diff) | |
| parent | 83d01cc5ae6029276788ddc94af4488671a9fcd3 (diff) | |
| download | rust-7377c0b1a91f48c95bf6d0b1b179f4fbada70869.tar.gz rust-7377c0b1a91f48c95bf6d0b1b179f4fbada70869.zip | |
Merge pull request #20672 from vrana/patch-3
Fix a typo in guide Reviewed-by: steveklabnik
| -rw-r--r-- | src/doc/guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md index fb94e4d73b8..f736ef821fa 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -4789,7 +4789,7 @@ of `Option`, we need to provide a concrete type in place of the type parameter. For example, if we wanted something like our `OptionalInt`, we would need to instantiate an `Option<i32>`. Inside the declaration of our enum, wherever we see a `T`, we replace it with the type specified (or inferred by the -the compiler). +compiler). ```{rust} let x: Option<i32> = Some(5); |
