Skip to content

Commit 2724548

Browse files
committed
---
yaml --- r: 50604 b: refs/heads/try c: 7e59951 h: refs/heads/master v: v3
1 parent ec38442 commit 2724548

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5-
refs/heads/try: 3aa92a91c90ac2b46a705f6cae6e9803aa956a74
5+
refs/heads/try: 7e5995197fa41002fd0ea78bf08208247e20ad51
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libcore/ptr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub pure fn ref_eq<T>(thing: &a/T, other: &b/T) -> bool {
190190
191191
SAFETY NOTE: Pointer-arithmetic. Dragons be here.
192192
*/
193-
pub unsafe fn array_each_with_len<T>(arr: **T, len: uint, cb: fn(*T)) {
193+
pub unsafe fn array_each_with_len<T>(arr: **T, len: uint, cb: &fn(*T)) {
194194
log(debug, "array_each_with_len: before iterate");
195195
if (arr as uint == 0) {
196196
fail!(~"ptr::array_each_with_len failure: arr input is null pointer");
@@ -213,7 +213,7 @@ pub unsafe fn array_each_with_len<T>(arr: **T, len: uint, cb: fn(*T)) {
213213
pointer array. Barely less-dodgey Pointer Arithmetic.
214214
Dragons be here.
215215
*/
216-
pub unsafe fn array_each<T>(arr: **T, cb: fn(*T)) {
216+
pub unsafe fn array_each<T>(arr: **T, cb: &fn(*T)) {
217217
if (arr as uint == 0) {
218218
fail!(~"ptr::array_each_with_len failure: arr input is null pointer");
219219
}

0 commit comments

Comments
 (0)