From 28b2cd73b76af0872ee648ba1a67b8bc8c60e915 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Mon, 9 Dec 2019 22:53:11 +0900 Subject: [PATCH] print from main example in readme Signed-off-by: Yoshua Wuyts --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 26a54a6..592a51e 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ with the list of annotations below. let dl = DisplayList::from(snippet); let dlf = DisplayListFormatter::new(true, false); - dlf.format(&dl); + println!("{}", dlf.format(&dl)); } ```