Skip to content

Commit e683933

Browse files
committed
Commit to fix make tidy
1 parent 6378c77 commit e683933

33 files changed

+157
-44
lines changed

src/libstd/sys/redox/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/backtrace.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use libc;
212
use io;
313
use sys_common::backtrace::output;

src/libstd/sys/redox/condvar.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use cell::UnsafeCell;
212
use intrinsics::{atomic_cxchg, atomic_xadd, atomic_xchg};
313
use ptr;

src/libstd/sys/redox/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/ext/fs.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -235,10 +235,10 @@ pub trait FileTypeExt {
235235

236236
#[stable(feature = "file_type_ext", since = "1.5.0")]
237237
impl FileTypeExt for fs::FileType {
238-
fn is_block_device(&self) -> bool { false /*TODO*/ }
239-
fn is_char_device(&self) -> bool { false /*TODO*/ }
240-
fn is_fifo(&self) -> bool { false /*TODO*/ }
241-
fn is_socket(&self) -> bool { false /*TODO*/ }
238+
fn is_block_device(&self) -> bool { false /*FIXME: Implement block device mode*/ }
239+
fn is_char_device(&self) -> bool { false /*FIXME: Implement char device mode*/ }
240+
fn is_fifo(&self) -> bool { false /*FIXME: Implement fifo mode*/ }
241+
fn is_socket(&self) -> bool { false /*FIXME: Implement socket mode*/ }
242242
}
243243

244244
/// Creates a new symbolic link on the filesystem.

src/libstd/sys/redox/ext/io.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/ext/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/ext/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/fast_thread_local.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/fd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/fs.rs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -118,9 +118,11 @@ impl FilePermissions {
118118
impl FileType {
119119
pub fn is_dir(&self) -> bool { self.is(syscall::MODE_DIR) }
120120
pub fn is_file(&self) -> bool { self.is(syscall::MODE_FILE) }
121-
pub fn is_symlink(&self) -> bool { false }
121+
pub fn is_symlink(&self) -> bool { false /*FIXME: Implement symlink mode*/ }
122122

123-
pub fn is(&self, mode: u16) -> bool { self.mode & (syscall::MODE_DIR | syscall::MODE_FILE) == mode }
123+
pub fn is(&self, mode: u16) -> bool {
124+
self.mode & (syscall::MODE_DIR | syscall::MODE_FILE) == mode
125+
}
124126
}
125127

126128
impl FromInner<u32> for FilePermissions {
@@ -334,7 +336,8 @@ impl DirBuilder {
334336
}
335337

336338
pub fn mkdir(&self, p: &Path) -> io::Result<()> {
337-
let fd = cvt(syscall::open(p.to_str().unwrap(), syscall::O_CREAT | syscall::O_DIRECTORY | syscall::O_EXCL | (self.mode as usize & 0o777)))?;
339+
let flags = syscall::O_CREAT | syscall::O_DIRECTORY | syscall::O_EXCL;
340+
let fd = cvt(syscall::open(p.to_str().unwrap(), flags | (self.mode as usize & 0o777)))?;
338341
let _ = syscall::close(fd);
339342
Ok(())
340343
}
@@ -369,7 +372,8 @@ impl fmt::Debug for File {
369372
pub fn readdir(p: &Path) -> io::Result<ReadDir> {
370373
let root = Arc::new(p.to_path_buf());
371374

372-
let fd = cvt(syscall::open(p.to_str().unwrap(), syscall::O_CLOEXEC | syscall::O_RDONLY | syscall::O_DIRECTORY))?;
375+
let flags = syscall::O_CLOEXEC | syscall::O_RDONLY | syscall::O_DIRECTORY;
376+
let fd = cvt(syscall::open(p.to_str().unwrap(), flags))?;
373377
let file = FileDesc::new(fd);
374378
let mut data = Vec::new();
375379
file.read_to_end(&mut data)?;

src/libstd/sys/redox/mod.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
#![allow(dead_code, missing_docs, bad_style)]
212

313
pub extern crate syscall;

src/libstd/sys/redox/mutex.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use cell::UnsafeCell;
212
use intrinsics::{atomic_cxchg, atomic_xchg};
313
use ptr;

src/libstd/sys/redox/net/dns/answer.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use string::String;
212
use vec::Vec;
313

src/libstd/sys/redox/net/dns/mod.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
pub use self::answer::DnsAnswer;
212
pub use self::query::DnsQuery;
313

src/libstd/sys/redox/net/dns/query.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use string::String;
212

313
#[derive(Clone, Debug)]

src/libstd/sys/redox/net/mod.rs

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use fs::File;
212
use io::{Error, Result, Read};
313
use iter::Iterator;
@@ -30,14 +40,17 @@ impl Iterator for LookupHost {
3040
pub fn lookup_host(host: &str) -> Result<LookupHost> {
3141
let mut ip_string = String::new();
3242
File::open("/etc/net/ip")?.read_to_string(&mut ip_string)?;
33-
let ip: Vec<u8> = ip_string.trim().split(".").map(|part| part.parse::<u8>().unwrap_or(0)).collect();
43+
let ip: Vec<u8> = ip_string.trim().split(".").map(|part| part.parse::<u8>()
44+
.unwrap_or(0)).collect();
3445

3546
let mut dns_string = String::new();
3647
File::open("/etc/net/dns")?.read_to_string(&mut dns_string)?;
37-
let dns: Vec<u8> = dns_string.trim().split(".").map(|part| part.parse::<u8>().unwrap_or(0)).collect();
48+
let dns: Vec<u8> = dns_string.trim().split(".").map(|part| part.parse::<u8>()
49+
.unwrap_or(0)).collect();
3850

3951
if ip.len() == 4 && dns.len() == 4 {
40-
let tid = (time::SystemTime::now().duration_since(time::UNIX_EPOCH).unwrap().subsec_nanos() >> 16) as u16;
52+
let time = time::SystemTime::now().duration_since(time::UNIX_EPOCH).unwrap();
53+
let tid = (time.subsec_nanos() >> 16) as u16;
4154

4255
let packet = Dns {
4356
transaction_id: tid,
@@ -52,8 +65,10 @@ pub fn lookup_host(host: &str) -> Result<LookupHost> {
5265

5366
let packet_data = packet.compile();
5467

55-
let socket = UdpSocket::bind(&SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::new(ip[0], ip[1], ip[2], ip[3]), 0)))?;
56-
socket.connect(&SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::new(dns[0], dns[1], dns[2], dns[3]), 53)))?;
68+
let my_ip = Ipv4Addr::new(ip[0], ip[1], ip[2], ip[3]);
69+
let dns_ip = Ipv4Addr::new(dns[0], dns[1], dns[2], dns[3]);
70+
let socket = UdpSocket::bind(&SocketAddr::V4(SocketAddrV4::new(my_ip, 0)))?;
71+
socket.connect(&SocketAddr::V4(SocketAddrV4::new(dns_ip, 53)))?;
5772
socket.send(&packet_data)?;
5873

5974
let mut buf = [0; 65536];
@@ -63,8 +78,14 @@ pub fn lookup_host(host: &str) -> Result<LookupHost> {
6378
Ok(response) => {
6479
let mut addrs = vec![];
6580
for answer in response.answers.iter() {
66-
if answer.a_type == 0x0001 && answer.a_class == 0x0001 && answer.data.len() == 4 {
67-
addrs.push(SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::new(answer.data[0], answer.data[1], answer.data[2], answer.data[3]), 0)));
81+
if answer.a_type == 0x0001 && answer.a_class == 0x0001
82+
&& answer.data.len() == 4
83+
{
84+
let answer_ip = Ipv4Addr::new(answer.data[0],
85+
answer.data[1],
86+
answer.data[2],
87+
answer.data[3]);
88+
addrs.push(SocketAddr::V4(SocketAddrV4::new(answer_ip, 0)));
6889
}
6990
}
7091
Ok(LookupHost(addrs.into_iter()))

src/libstd/sys/redox/net/tcp.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use io::{Error, ErrorKind, Result};
212
use net::{SocketAddr, Shutdown};
313
use path::Path;

src/libstd/sys/redox/net/udp.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use cell::UnsafeCell;
212
use io::{Error, ErrorKind, Result};
313
use net::{SocketAddr, Ipv4Addr, Ipv6Addr};

src/libstd/sys/redox/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/os_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/pipe.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
use io;
12-
use sys::syscall;
12+
use sys::{cvt, syscall};
1313
use sys::fd::FileDesc;
1414

1515
////////////////////////////////////////////////////////////////////////////////
@@ -20,9 +20,7 @@ pub struct AnonPipe(FileDesc);
2020

2121
pub fn anon_pipe() -> io::Result<(AnonPipe, AnonPipe)> {
2222
let mut fds = [0; 2];
23-
24-
syscall::pipe2(&mut fds, syscall::O_CLOEXEC).map_err(|err| io::Error::from_raw_os_error(err.errno))?;
25-
23+
cvt(syscall::pipe2(&mut fds, syscall::O_CLOEXEC))?;
2624
Ok((AnonPipe(FileDesc::new(fds[0])), AnonPipe(FileDesc::new(fds[1]))))
2725
}
2826

@@ -52,7 +50,7 @@ pub fn read2(p1: AnonPipe,
5250
v1: &mut Vec<u8>,
5351
p2: AnonPipe,
5452
v2: &mut Vec<u8>) -> io::Result<()> {
55-
//TODO: Use event based I/O multiplexing
53+
//FIXME: Use event based I/O multiplexing
5654
//unimplemented!()
5755

5856
p1.read_to_end(v1)?;

src/libstd/sys/redox/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/rand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/rwlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/stack_overflow.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -23,5 +23,5 @@ pub unsafe fn init() {
2323
}
2424

2525
pub unsafe fn cleanup() {
26-
26+
2727
}

src/libstd/sys/redox/stdio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

src/libstd/sys/redox/thread_local.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//

0 commit comments

Comments
 (0)