summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@ifm.com>2022-08-12 16:19:37 +0200
committerMatthias Beyer <matthias.beyer@ifm.com>2022-08-30 13:54:48 +0200
commitd464b881c544621deda20e814bc4449a27a3589b (patch)
tree21f8849b10cfd63dcf919e8b727bac281efed5f5
parent08a32f3294d65b4011e54838fc67c792cf8f3ff0 (diff)
Remove unused "utils" modpost-merge/remove-unused-code
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r--crates/core/tedge_core/src/lib.rs1
-rw-r--r--crates/core/tedge_core/src/utils.rs18
2 files changed, 0 insertions, 19 deletions
diff --git a/crates/core/tedge_core/src/lib.rs b/crates/core/tedge_core/src/lib.rs
index ede90e39..e85c6e02 100644
--- a/crates/core/tedge_core/src/lib.rs
+++ b/crates/core/tedge_core/src/lib.rs
@@ -21,7 +21,6 @@ pub mod errors;
mod message_handler;
mod plugin_task;
mod reactor;
-mod utils;
pub use crate::communication::PluginDirectory;
use crate::configuration::PluginInstanceConfiguration;
diff --git a/crates/core/tedge_core/src/utils.rs b/crates/core/tedge_core/src/utils.rs
deleted file mode 100644
index eae68c6b..00000000
--- a/crates/core/tedge_core/src/utils.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-pub trait MakeCommaSeperatedString {
- fn comma_seperated(self) -> CommaSeperatedString;
-}
-
-impl MakeCommaSeperatedString for Vec<String> {
- fn comma_seperated(self) -> CommaSeperatedString {
- CommaSeperatedString(self.join(", "))
- }
-}
-
-#[derive(Debug)]
-pub struct CommaSeperatedString(String);
-
-impl std::fmt::Display for CommaSeperatedString {
- fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
- self.0.fmt(f)
- }
-}