Skip to content

Commit 3edecb0

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 167503 b: refs/heads/snap-stage3 c: 12dd778 h: refs/heads/master i: 167501: 85c085e 167499: 42d5f70 167495: 33b97ad 167487: 0f8db0c v: v3
1 parent 9af4814 commit 3edecb0

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 023dfb0c898d851dee6ace2f8339b73b5287136b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: fb14dad4d6f8547dc7e6ca0231d24580bdac96c9
4+
refs/heads/snap-stage3: 12dd7781d64f5898a435bb3d0210e0518285e128
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/libstd/io/net/udp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ mod test {
344344
let (tx2, rx2) = channel();
345345

346346
spawn(move|| {
347-
let send_as = |ip, val: &[u8]| {
347+
let send_as = |&: ip, val: &[u8]| {
348348
match UdpSocket::bind(ip) {
349349
Ok(client) => {
350350
let client = box client;

branches/snap-stage3/src/libstd/num/strconv.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,10 @@ pub fn float_to_str_bytes_common<T: Float>(
321321
// cut off the one extra digit, and depending on its value
322322
// round the remaining ones.
323323
if limit_digits && dig == digit_count {
324-
let ascii2value = |chr: u8| {
324+
let ascii2value = |&: chr: u8| {
325325
(chr as char).to_digit(radix).unwrap()
326326
};
327-
let value2ascii = |val: uint| {
327+
let value2ascii = |&: val: uint| {
328328
char::from_digit(val, radix).unwrap() as u8
329329
};
330330

branches/snap-stage3/src/libstd/sys/unix/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ impl Process {
195195
// up /dev/null into that file descriptor. Otherwise, the first file
196196
// descriptor opened up in the child would be numbered as one of the
197197
// stdio file descriptors, which is likely to wreak havoc.
198-
let setup = |src: Option<P>, dst: c_int| {
198+
let setup = |&: src: Option<P>, dst: c_int| {
199199
let src = match src {
200200
None => {
201201
let flags = if dst == libc::STDIN_FILENO {

branches/snap-stage3/src/libstd/sys/windows/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl Process {
162162
// Similarly to unix, we don't actually leave holes for the stdio file
163163
// descriptors, but rather open up /dev/null equivalents. These
164164
// equivalents are drawn from libuv's windows process spawning.
165-
let set_fd = |fd: &Option<P>, slot: &mut HANDLE,
165+
let set_fd = |&: fd: &Option<P>, slot: &mut HANDLE,
166166
is_stdin: bool| {
167167
match *fd {
168168
None => {

0 commit comments

Comments
 (0)