Further preparations for Rusto 2018 edition

This commit is contained in:
Jordan Petridis
2018-11-18 12:59:01 +00:00
parent fd4128c364
commit 19e0b7e565
8 changed files with 9 additions and 5 deletions
+1
View File
@@ -27,6 +27,7 @@
)
)]
#![allow(unknown_lints)]
#![feature(rust_2018_preview)]
// Enable lint group collections
#![warn(nonstandard_style, edition_2018, rust_2018_idioms, bad_style, unused)]
// standalone lints
+1 -1
View File
@@ -17,8 +17,8 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later
use gtk::{self, prelude::*, Adjustment, Orientation, PolicyType};
use crate::utils::smooth_scroll_to;
use gtk::{self, prelude::*, Adjustment, Orientation, PolicyType};
#[derive(Debug, Clone)]
pub(crate) struct BaseView {