fix doc copy/paste error

This commit is contained in:
Victor Berger 2018-09-25 09:43:49 +02:00
parent 4bdfc5b5b1
commit 269c9a5c7c
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ pub struct BoundDirectSession {
} }
impl BoundDirectSession { impl BoundDirectSession {
/// Unbind the logind session from the `EventLoop` /// Unbind the direct session from the `EventLoop`
pub fn unbind(self) -> DirectSessionNotifier { pub fn unbind(self) -> DirectSessionNotifier {
let BoundDirectSession { source, notifier } = self; let BoundDirectSession { source, notifier } = self;
source.remove(); source.remove();