summaryrefslogtreecommitdiffstats
path: root/lib/entry/libimagentrytag
diff options
context:
space:
mode:
Diffstat (limited to 'lib/entry/libimagentrytag')
-rw-r--r--lib/entry/libimagentrytag/src/exec.rs2
-rw-r--r--lib/entry/libimagentrytag/src/lib.rs1
-rw-r--r--lib/entry/libimagentrytag/src/result.rs25
-rw-r--r--lib/entry/libimagentrytag/src/tagable.rs2
4 files changed, 2 insertions, 28 deletions
diff --git a/lib/entry/libimagentrytag/src/exec.rs b/lib/entry/libimagentrytag/src/exec.rs
index 216e2c28..57ad3512 100644
--- a/lib/entry/libimagentrytag/src/exec.rs
+++ b/lib/entry/libimagentrytag/src/exec.rs
@@ -21,7 +21,7 @@ use clap::ArgMatches;
use libimagstore::store::FileLockEntry;
-use result::Result;
+use error::Result;
use tagable::*;
use ui::{get_add_tags, get_remove_tags};
diff --git a/lib/entry/libimagentrytag/src/lib.rs b/lib/entry/libimagentrytag/src/lib.rs
index 821f75b3..cf2be7d9 100644
--- a/lib/entry/libimagentrytag/src/lib.rs
+++ b/lib/entry/libimagentrytag/src/lib.rs
@@ -50,7 +50,6 @@ extern crate libimagerror;
pub mod error;
pub mod exec;
-pub mod result;
pub mod tag;
pub mod tagable;
pub mod ui;
diff --git a/lib/entry/libimagentrytag/src/result.rs b/lib/entry/libimagentrytag/src/result.rs
deleted file mode 100644
index 02d72766..00000000
--- a/lib/entry/libimagentrytag/src/result.rs
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-// imag - the personal information management suite for the commandline
-// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors
-//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; version
-// 2.1 of the License.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-//
-
-use std::result::Result as RResult;
-
-use error::TagError;
-
-pub type Result<T> = RResult<T, TagError>;
-
diff --git a/lib/entry/libimagentrytag/src/tagable.rs b/lib/entry/libimagentrytag/src/tagable.rs
index 5a2aeeae..65c3275d 100644
--- a/lib/entry/libimagentrytag/src/tagable.rs
+++ b/lib/entry/libimagentrytag/src/tagable.rs
@@ -27,7 +27,7 @@ use toml_query::set::TomlValueSetExt;
use error::TagErrorKind;
use error::TagError as TE;
use error::ResultExt;
-use result::Result;
+use error::Result;
use tag::{Tag, TagSlice};
use tag::is_tag_str;