Skip to content

chore: update all crates to 2018 edition #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2019
Merged

chore: update all crates to 2018 edition #122

merged 2 commits into from
Jun 30, 2019

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Jun 29, 2019

This branch updates everything to Rust 2018, since we
are no longer guaranteeing support for Rust versions prior
to that edition.

Closes #103

Signed-off-by: Eliza Weisman [email protected]

@hawkw hawkw requested review from jonhoo and LucioFranco June 29, 2019 16:33
@hawkw hawkw self-assigned this Jun 29, 2019
@@ -152,7 +152,7 @@ impl AsyncRead for MyTcpStream {}

impl AsyncWrite for MyTcpStream {
fn shutdown(&mut self) -> Poll<(), io::Error> {
try!(self.0.lock().unwrap().shutdown(Shutdown::Write));
r#try!(self.0.lock().unwrap().shutdown(Shutdown::Write));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, weird.. Should this be using ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably --- this was a community contribution I think.

@hawkw hawkw merged commit 16c351a into master Jun 30, 2019
hawkw added a commit that referenced this pull request Jul 1, 2019
## Motivation

#122 updated all crates to use Rust 2018 syntax, but I neglected to add
`edition = "2018"` to the `Cargo.toml`s. 

## Solution

This fixes that.

Signed-off-by: Eliza Weisman <[email protected]>
@hawkw hawkw deleted the eliza/rust-2018 branch September 4, 2019 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to 2018 edition
2 participants