Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28b2cd7

Browse files
print from main example in readme
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
1 parent 4f2502f commit 28b2cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ with the list of annotations below.
7777

7878
let dl = DisplayList::from(snippet);
7979
let dlf = DisplayListFormatter::new(true, false);
80-
dlf.format(&dl);
80+
println!("{}", dlf.format(&dl));
8181
}
8282
```
8383

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /