update readme example for 2018 edition rust

This commit is contained in:
softprops
2019-07-11 19:31:14 -04:00
parent 9fd7d3cb7e
commit 51e6e9f761
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright (c) 2015-2017 Doug Tangren
Copyright (c) 2015-2019 Doug Tangren
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
+1 -3
View File
@@ -17,8 +17,6 @@ atty = "0.2"
## usage
```rust
extern crate atty;
use atty::Stream;
fn main() {
@@ -73,4 +71,4 @@ stderr? false
stdin? true
```
Doug Tangren (softprops) 2015-2017
Doug Tangren (softprops) 2015-2019