summaryrefslogtreecommitdiffstats
path: root/src/router/mod.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-31 20:25:16 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-31 20:25:16 +0200
commit46d76b80c6b1b3b1c549b770b1a5ba791b49da8a (patch)
tree0c880785943dd00e66cff6d8cd7560d42dc68c24 /src/router/mod.rs
parentExplicitly clear t0 in KDF macro (diff)
downloadwireguard-rs-46d76b80c6b1b3b1c549b770b1a5ba791b49da8a.tar.xz
wireguard-rs-46d76b80c6b1b3b1c549b770b1a5ba791b49da8a.zip
Reduce number of type parameters in router
Merge multiple related type parameters into trait, allowing for easier refactoring and better maintainability.
Diffstat (limited to '')
-rw-r--r--src/router/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router/mod.rs b/src/router/mod.rs
index 70ac868..c1ecf1c 100644
--- a/src/router/mod.rs
+++ b/src/router/mod.rs
@@ -1,9 +1,9 @@
mod anti_replay;
mod device;
+mod messages;
mod peer;
mod types;
mod workers;
-mod messages;
pub use device::Device;
pub use peer::Peer;