elide lifetime for Default Options impl

This commit is contained in:
Ivan Tham 2020-08-01 12:12:21 +08:00 committed by Connor Skees
parent db41737ec7
commit 45476b8a75

View File

@ -148,7 +148,7 @@ pub struct Options<'a> {
quiet: bool, quiet: bool,
} }
impl<'a> Default for Options<'a> { impl Default for Options<'_> {
#[inline] #[inline]
fn default() -> Self { fn default() -> Self {
Self { Self {