Skip to content

Commit 158b824

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 167735 b: refs/heads/master c: 12dd778 h: refs/heads/master i: 167733: 0814a6d 167731: e945d6f 167727: 9d956e0 v: v3
1 parent f030376 commit 158b824

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,5 +1,5 @@
11
---
2-
refs/heads/master: fb14dad4d6f8547dc7e6ca0231d24580bdac96c9
2+
refs/heads/master: 12dd7781d64f5898a435bb3d0210e0518285e128
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c89417130f042c58adc60012e7cddc4ef70b70b9
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb

trunk/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;

trunk/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

trunk/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 {

trunk/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)