Skip to content

Commit ad6b16a

Browse files
committed
---
yaml --- r: 24190 b: refs/heads/master c: d26e2a9 h: refs/heads/master v: v3
1 parent 78ca7e0 commit ad6b16a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: fbf362809b89a97512c049ba7e4091ff3d404c58
2+
refs/heads/master: d26e2a9ce674150f06edc427edd3837a8950d374
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ pure fn pure_length<T>(ls: List<T>) -> uint {
10011001
Despite its name, `pure_foldl` is a `fn`, not a `pure fn`, because there is no
10021002
way in Rust to specify that the higher-order function argument `f` is a pure
10031003
function. So, to use `foldl` in a pure list length function that a pure function
1004-
could then use, we must use an `unchecked` block wrapped around the call to
1004+
could then use, we must use an `unsafe` block wrapped around the call to
10051005
`pure_foldl` in the definition of `pure_length`.
10061006

10071007
#### Generic functions

0 commit comments

Comments
 (0)