Add comments to examples.

This commit is contained in:
Stephen Chung
2022-02-12 12:41:04 +08:00
parent 2caf686e8a
commit 3f8f0b250f
9 changed files with 20 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
//! An example to serialize and deserialize Rust types.
#[cfg(any(not(feature = "serde"), feature = "no_object"))]
fn main() {
println!("This example requires the 'serde' feature to run.");