Skip to content

Commit 69bf431

Browse files
committed
---
yaml --- r: 53780 b: refs/heads/dist-snap c: 7e59951 h: refs/heads/master v: v3
1 parent f1a0798 commit 69bf431

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
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10-
refs/heads/dist-snap: 3aa92a91c90ac2b46a705f6cae6e9803aa956a74
10+
refs/heads/dist-snap: 7e5995197fa41002fd0ea78bf08208247e20ad51
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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)