aboutsummaryrefslogtreecommitdiff
path: root/karlcommon/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'karlcommon/src/lib.rs')
-rw-r--r--karlcommon/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/karlcommon/src/lib.rs b/karlcommon/src/lib.rs
index f5e0798..173beba 100644
--- a/karlcommon/src/lib.rs
+++ b/karlcommon/src/lib.rs
@@ -1,11 +1,11 @@
pub mod protocol;
+pub use protocol::*;
+
use std::{
os::unix::prelude::MetadataExt,
path::{Path, PathBuf},
};
-pub use protocol::*;
-
pub fn socket_path() -> PathBuf {
std::env::var("XDG_RUNTIME_DIR")
.map(|p| Path::new(p.as_str()).to_path_buf())