Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 8b5f4fa

Browse files
committed
allow(unused) for the Result wrapper.
1 parent cca3cf9 commit 8b5f4fa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Unreleased
22

33
- Add `quick_main!` (#88).
4+
- `allow(unused)` for the `Result` wrapper.
45

56
# 0.7.1
67

src/error_chain.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ macro_rules! error_chain_processed {
2929
$( $rest )*
3030
}
3131
/// Convenient wrapper around `std::Result`.
32+
#[allow(unused)]
3233
pub type $result_name<T> = ::std::result::Result<T, $error_name>;
3334
};
3435
// Without `Result` wrapper.

0 commit comments

Comments
 (0)