Bus::create_watch() can't return None, change it to return no Option

This commit is contained in:
Sebastian Dröge 2018-05-19 10:36:15 +03:00
parent dc219af36e
commit da6b04abfd

View file

@ -81,7 +81,7 @@ impl Bus {
name: N,
priority: Priority,
func: F,
) -> Option<glib::Source>
) -> glib::Source
where
F: FnMut(&Bus, &Message) -> Continue + Send + 'static,
{