lib: Remove left-over function

This commit is contained in:
Erik Kundt
2024-06-26 12:33:44 +02:00
parent b02aa3c890
commit ff1d329d1a
-5
View File
@@ -303,11 +303,6 @@ impl<S: 'static, M: 'static> Widget<S, M> {
self.on_render = Some(callback);
self
}
/// Sends a message to the widgets' message channel.
pub fn send(&self, message: M) {
let _ = self.sender.send(message);
}
}
/// A `View` needs to be wrapped into a `Widget` in order to be used with the framework.