Skip to content

Commit 43deed8

Browse files
committed
Further cleanup for traits post
1 parent e7952bb commit 43deed8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2015-05-11-traits.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ closely related:
7070

7171
```rust
7272
struct Point {
73-
x: f64;
73+
x: f64,
7474
y: f64,
7575
}
7676

@@ -231,7 +231,7 @@ advance**. That is, when you compile `HashMap` in isolation, its code is
231231
checked *once* for type correctness against the abstract `Hash` and `Eq` traits,
232232
rather than being checked repeatedly when applied to concrete types. That means
233233
earlier, clearer compilation errors for library authors, and less typechecking
234-
overhead for clients.
234+
overhead (i.e., faster compilation) for clients.
235235

236236
### Dynamic dispatch
237237

@@ -415,7 +415,7 @@ help!
415415
[zero-cost-cpp]: http://www.stroustrup.com/abstraction-and-machine.pdf
416416
[fearless]: http://blog.rust-lang.org/2015/04/10/Fearless-Concurrency.html
417417
[dst5]: http://smallcultfollowing.com/babysteps/blog/2014/01/05/dst-take-5/
418-
[adhoc]: dl.acm.org/citation.cfm?id=75283
418+
[adhoc]: http://dl.acm.org/citation.cfm?id=75283
419419
[socket]: http://blog.skylight.io/rust-means-never-having-to-close-a-socket/
420420
[post1]: http://internals.rust-lang.org/t/priorities-after-1-0/1901
421421
[virtual]: http://smallcultfollowing.com/babysteps/blog/2015/05/05/where-rusts-enum-shines/

0 commit comments

Comments
 (0)