Skip to content

Commit 4a3abbb

Browse files
authored
Merge pull request #211 from dns2utf8/checklist_2018
Rust 2018 warns when boxed Error misses dyn
2 parents 1e3d0f9 + 216aae1 commit 4a3abbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ will not appear in user-visible rustdoc.
5151
/// ```rust
5252
/// # use std::error::Error;
5353
/// #
54-
/// # fn main() -> Result<(), Box<Error>> {
54+
/// # fn main() -> Result<(), Box<dyn Error>> {
5555
/// your;
5656
/// example?;
5757
/// code;

0 commit comments

Comments
 (0)