Skip to content

Commit 96aee4f

Browse files
committed
---
yaml --- r: 134222 b: refs/heads/auto c: b458538 h: refs/heads/master v: v3
1 parent 7801cea commit 96aee4f

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: df6240dc9e6e97a4310909fa84baca90608baa98
16+
refs/heads/auto: b45853860c17937d966c94ca4b9b3d949eaffa67
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/doc/guide.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -392,14 +392,10 @@ By the way, in these examples, `i` indicates that the number is an integer.
392392

393393
Rust is a statically typed language, which means that we specify our types up
394394
front. So why does our first example compile? Well, Rust has this thing called
395-
"[Hindley-Milner type
396-
inference](http://en.wikipedia.org/wiki/Hindley%E2%80%93Milner_type_system)",
397-
named after some really smart type theorists. If you clicked that link, don't
398-
be scared: what this means for you is that Rust will attempt to infer the types
399-
in your program, and it's pretty good at it. If it can infer the type, Rust
395+
"type inference." If it can figure out what the type of something is, Rust
400396
doesn't require you to actually type it out.
401397

402-
We can add the type if we want to. Types come after a colon (`:`):
398+
We can add the type if we want to, though. Types come after a colon (`:`):
403399

404400
```{rust}
405401
let x: int = 5;

0 commit comments

Comments
 (0)