Skip to content

Commit c6caeda

Browse files
committed
---
yaml --- r: 51294 b: refs/heads/incoming c: 7e59951 h: refs/heads/master v: v3
1 parent b55f1a7 commit c6caeda

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
@@ -6,7 +6,7 @@ refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 3aa92a91c90ac2b46a705f6cae6e9803aa956a74
9+
refs/heads/incoming: 7e5995197fa41002fd0ea78bf08208247e20ad51
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/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)