From e287594654b6592f9f7425571b061b62b9a2a138 Mon Sep 17 00:00:00 2001 From: Fahmi Akbar Wildana Date: Tue, 15 Oct 2019 12:17:37 +0700 Subject: [PATCH] Fix compile-error on Rust v1.35.0 --- src/lib.rs | 2 +- src/style.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 88db95d8..aeeab580 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -67,7 +67,7 @@ pub enum PagingMode { impl Default for PagingMode { fn default() -> Self { - Self::Never + PagingMode::Never } } diff --git a/src/style.rs b/src/style.rs index 5a235008..b0573cd1 100644 --- a/src/style.rs +++ b/src/style.rs @@ -23,7 +23,7 @@ pub enum OutputWrap { impl Default for OutputWrap { fn default() -> Self { - Self::None + OutputWrap::None } }