Further preparations for Rusto 2018 edition
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user