aboutsummaryrefslogtreecommitdiff
path: root/src/tty.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-02-02 20:50:48 -0800
committerJoe Wilm <jwilm@users.noreply.github.com>2017-02-03 08:11:19 -0800
commitf2f750f9f3688e20d44bf43e6c0f568cf86edaa5 (patch)
tree176fa38cfe17e3b63e0df0dc3f9a14ce0db0d510 /src/tty.rs
parent875167a51006944da1a397fd0131b9aa69bf9a02 (diff)
downloadalacritty-f2f750f9f3688e20d44bf43e6c0f568cf86edaa5.tar.gz
alacritty-f2f750f9f3688e20d44bf43e6c0f568cf86edaa5.zip
Alacritty now compiles on stable Rust :tada:
Diffstat (limited to 'src/tty.rs')
-rw-r--r--src/tty.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tty.rs b/src/tty.rs
index 4fcf065f..ca5fad78 100644
--- a/src/tty.rs
+++ b/src/tty.rs
@@ -329,6 +329,5 @@ unsafe fn set_nonblocking(fd: c_int) {
#[test]
fn test_get_pw_entry() {
let mut buf: [i8; 1024] = [0; 1024];
- let pw = get_pw_entry(&mut buf);
- println!("{:?}", pw);
+ let _pw = get_pw_entry(&mut buf);
}