[fractal/wip/christopherdavis/spellcheck-support] sourceview_entry: Clean up `self` imports
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/wip/christopherdavis/spellcheck-support] sourceview_entry: Clean up `self` imports
- Date: Tue, 15 Jan 2019 15:45:05 +0000 (UTC)
commit b17fe29c560957c81446efd848dc08da8b26e039
Author: Christopher Davis <brainblasted disroot org>
Date: Tue Jan 15 10:43:07 2019 -0500
sourceview_entry: Clean up `self` imports
We previously included `self` of different crates so we could get things from the crates' roots with
crate_name::ObjectName; This can be done in Rust 2018 without
the explicit self.
fractal-gtk/src/widgets/sourceview_entry.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/fractal-gtk/src/widgets/sourceview_entry.rs b/fractal-gtk/src/widgets/sourceview_entry.rs
index c1492adc..e98c632d 100644
--- a/fractal-gtk/src/widgets/sourceview_entry.rs
+++ b/fractal-gtk/src/widgets/sourceview_entry.rs
@@ -1,8 +1,8 @@
-use gtk::{self, prelude::*};
+use gtk::prelude::*;
use libhandy::{Column, ColumnExt};
-use sourceview::{self, ViewExt};
+use sourceview::ViewExt;
// This alias is necessary to avoid conflict with gtk's TextViewExt
-use gspell::{self, TextViewExt as GspellTextViewExt};
+use gspell::TextViewExt as GspellTextViewExt;
#[derive(Debug, Clone)]
pub struct SVEntry {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]