summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-08 04:46:50 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-08 04:46:50 -0600
commitc50a3d09120ee4a0eefa8269eaf53350428f242c (patch)
tree0a8c4e56aaaeb60f54dbbae16df332960ea36aa2 /src/lib.rs
parent0a2e549bb30b93158af2e301ad46b134fd595e31 (diff)
Rename private_trait as sealed
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 18dc5e5..9786abf 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -25,7 +25,7 @@ pub mod session;
mod proto;
mod util;
-pub trait Operation<'o>: private_trait::Sealed + Sized {
+pub trait Operation<'o>: sealed::Sealed + Sized {
type RequestBody: crate::proto::Structured<'o>;
type ReplyState;
}
@@ -161,6 +161,6 @@ impl From<SystemTime> for Timestamp {
}
}
-mod private_trait {
+mod sealed {
pub trait Sealed {}
}