[niepce] niepce-main+rust: use edition 2018
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] niepce-main+rust: use edition 2018
- Date: Sat, 3 Jul 2021 16:26:59 +0000 (UTC)
commit 34f38431738625e5191d609caf96bac0348405ff
Author: Hubert Figuière <hub figuiere net>
Date: Fri Jul 2 00:07:19 2021 -0400
niepce-main+rust: use edition 2018
niepce-main/Cargo.toml | 1 +
niepce-main/src/niepce/ui/dialogs/requestnewfolder.rs | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/niepce-main/Cargo.toml b/niepce-main/Cargo.toml
index 646518b..7db2629 100644
--- a/niepce-main/Cargo.toml
+++ b/niepce-main/Cargo.toml
@@ -3,6 +3,7 @@ name = "niepce_rust"
version = "0.1.0"
authors = ["Hubert Figuière <hub figuiere net>"]
build = "build.rs"
+edition = "2018"
[dependencies]
once_cell = "^1.8.0"
diff --git a/niepce-main/src/niepce/ui/dialogs/requestnewfolder.rs
b/niepce-main/src/niepce/ui/dialogs/requestnewfolder.rs
index e187f8f..75e9cde 100644
--- a/niepce-main/src/niepce/ui/dialogs/requestnewfolder.rs
+++ b/niepce-main/src/niepce/ui/dialogs/requestnewfolder.rs
@@ -24,7 +24,7 @@ use gtk::prelude::*;
use gtk::{Dialog, Entry, Label};
use gtk_sys;
-use libraryclient::{ClientInterface, LibraryClientWrapper};
+use crate::libraryclient::{ClientInterface, LibraryClientWrapper};
#[no_mangle]
pub unsafe extern "C" fn dialog_request_new_folder(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]