We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aed8c1 commit 80c6620Copy full SHA for 80c6620
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 32e842934189599d45788122c6bb0a0fa1e6dfc1
+refs/heads/master: 160ffb0c2fdb009af7d4a76181129b4d12b8f2e7
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/src/libcore/os.rs
@@ -118,7 +118,7 @@ mod win32 {
118
let mut t = str::to_utf16(s);
119
// Null terminate before passing on.
120
t += ~[0u16];
121
- vec::as_buf(t, f)
+ vec::as_buf(t, |buf, _len| f(buf))
122
}
123
124
0 commit comments