Skip to content

Commit

Permalink
Update serde dep in example to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 18, 2019
1 parent d8deb9a commit 1d7a62c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn main() {
"name": "demo",
"dependencies": {
"serde": {
"version": "0.9",
"version": "1.0",
"typo1": ""
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
//! "name": "demo",
//! "dependencies": {
//! "serde": {
//! "version": "0.9",
//! "version": "1.0",
//! "typo1": ""
//! }
//! },
Expand All @@ -59,7 +59,7 @@
//! dependencies: {
//! let mut map = Map::new();
//! map.insert("serde".to_owned(), Dependency {
//! version: "0.9".to_owned(),
//! version: "1.0".to_owned(),
//! });
//! map
//! },
Expand Down
4 changes: 2 additions & 2 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn test_readme() {
"name": "demo",
"dependencies": {
"serde": {
"version": "0.9",
"version": "1.0",
"typo1": ""
}
},
Expand All @@ -59,7 +59,7 @@ fn test_readme() {
map.insert(
"serde".to_owned(),
Dependency {
version: "0.9".to_owned(),
version: "1.0".to_owned(),
},
);
map
Expand Down

0 comments on commit 1d7a62c

Please sign in to comment.