Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit d473b58

Browse files
authored
Fix assert in README
1 parent 02e9940 commit d473b58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn main() -> Result<(), serde_yaml::Error> {
4747

4848
// Serialize it to a YAML string.
4949
let s = serde_yaml::to_string(&map)?;
50-
assert_eq!(s, "---\nx: 1.0\ny: 2.0");
50+
assert_eq!(s, "---\nx: 1.0\ny: 2.0\n");
5151

5252
// Deserialize it back to a Rust type.
5353
let deserialized_map: BTreeMap<String, f64> = serde_yaml::from_str(&s)?;

0 commit comments

Comments
 (0)