aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/meta.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/meta.rs b/examples/meta.rs
index e9d4cec..16cd45b 100644
--- a/examples/meta.rs
+++ b/examples/meta.rs
@@ -28,7 +28,7 @@ fn main() {
// Convert the structured meta representation back to a string, identical to
// the original meta section
- println!("{}", meta.to_string());
+ println!("{}", meta);
// The MIME type of the meta section
println!("{}", meta.mime());