Update crates.io readme to 2018 edition

This commit is contained in:
David Tolnay 2019-01-18 00:44:17 -08:00
parent 85a1cc9b4f
commit face857d5e
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -16,11 +16,7 @@ You may be looking for:
## Serde in action
```rust
#[macro_use]
extern crate serde_derive;
extern crate serde;
extern crate serde_json;
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug)]
struct Point {