Auto merge of #25432 - killercup:patch-12, r=steveklabnik

`[let]` was already defined in line 11. Pandoc shows a warning for this. I'm not sure if it's actually invalid Markdown.

r? @steveklabnik
This commit is contained in:
bors 2015-05-15 22:55:03 +00:00
commit daaf715539
1 changed files with 1 additions and 3 deletions

View File

@ -31,10 +31,8 @@ static N: i32 = 5;
Unlike [`let`][let] bindings, you must annotate the type of a `static`. Unlike [`let`][let] bindings, you must annotate the type of a `static`.
[let]: variable-bindings.html
Statics live for the entire lifetime of a program, and therefore any Statics live for the entire lifetime of a program, and therefore any
reference stored in a constant has a [`static` lifetime][lifetimes]: reference stored in a constant has a [`'static` lifetime][lifetimes]:
```rust ```rust
static NAME: &'static str = "Steve"; static NAME: &'static str = "Steve";