Skip to content

Commit 016350e

Browse files
committed
TESTING: Revert "examples: error: use Error in fn main()"
This reverts commit 1f4f749.
1 parent 12396c0 commit 016350e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/error.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ impl From<AllocError> for Error {
2424
}
2525

2626
#[allow(dead_code)]
27-
fn main() {
28-
let _ = Error;
29-
}
27+
fn main() {}

0 commit comments

Comments
 (0)