Remove unused type parameter
This commit is contained in:
parent
036633541a
commit
4971278a25
|
@ -365,12 +365,9 @@ impl SessionNotifier for DirectSessionNotifier {
|
||||||
/// Allows the `DirectSessionNotifier` to listen for the incoming signals signalling the session state.
|
/// Allows the `DirectSessionNotifier` to listen for the incoming signals signalling the session state.
|
||||||
/// If you don't use this function `DirectSessionNotifier` will not correctly tell you the current
|
/// If you don't use this function `DirectSessionNotifier` will not correctly tell you the current
|
||||||
/// session state.
|
/// session state.
|
||||||
pub fn direct_session_bind<L>(
|
pub fn direct_session_bind(
|
||||||
notifier: DirectSessionNotifier, evlh: &mut EventLoopHandle, _logger: L
|
notifier: DirectSessionNotifier, evlh: &mut EventLoopHandle
|
||||||
) -> IoResult<SignalEventSource<DirectSessionNotifier>>
|
) -> IoResult<SignalEventSource<DirectSessionNotifier>> {
|
||||||
where
|
|
||||||
L: Into<Option<::slog::Logger>>,
|
|
||||||
{
|
|
||||||
let signal = notifier.signal;
|
let signal = notifier.signal;
|
||||||
|
|
||||||
evlh.add_signal_event_source(
|
evlh.add_signal_event_source(
|
||||||
|
|
Loading…
Reference in New Issue