summaryrefslogtreecommitdiff
path: root/src/client/connector.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/connector.rs')
-rw-r--r--src/client/connector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/connector.rs b/src/client/connector.rs
index 6c002c9..942c8f9 100644
--- a/src/client/connector.rs
+++ b/src/client/connector.rs
@@ -26,7 +26,7 @@ pub trait Connection {
_ = Executor::new(&NETWORK_T, ["on".to_string()]);
}
- fn init(&self, c: &Client<Self>) -> std::result::Result<(), Self::Err>
+ fn init<'a>(&self, c: &crate::client::Client<'a, Self>) -> std::result::Result<(), Self::Err>
where
Self: std::marker::Sized,
{