Refine examples.

This commit is contained in:
Stephen Chung
2021-02-20 23:46:25 +08:00
parent 54e26059dc
commit 03c31a969a
7 changed files with 53 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
#[cfg(not(feature = "serde"))]
fn main() {
println!(r#"This example requires the "serde" feature which is not enabled by default."#);
println!("This example requires the 'serde' feature to run.");
println!("Try: cargo run --features serde --example serde");
}