diff options
Diffstat (limited to 'src/session.rs')
-rw-r--r-- | src/session.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/session.rs b/src/session.rs index a3e4e24..a709986 100644 --- a/src/session.rs +++ b/src/session.rs @@ -84,7 +84,10 @@ pub struct Instance { pub user: Option<User>, } impl Instance { - fn new(login_provider: Arc<dyn LoginProvider + Send + Sync>, rx: mpsc::Receiver<Message>) -> Self { + fn new( + login_provider: Arc<dyn LoginProvider + Send + Sync>, + rx: mpsc::Receiver<Message>, + ) -> Self { Self { login_provider, rx, |