refactor: remove useless void return

This commit is contained in:
drendog 2025-12-11 06:45:15 +01:00
parent dc950833ea
commit 89832a4033
Signed by: dwenya
GPG key ID: 8DD77074645332D0

View file

@ -28,7 +28,6 @@ fn main() -> Result<()> {
.select(Surface::named("TopBar")) .select(Surface::named("TopBar"))
.on_callback("workspace_clicked", |_control| { .on_callback("workspace_clicked", |_control| {
log::info!("Workspace button clicked in TopBar"); log::info!("Workspace button clicked in TopBar");
Value::Void
}); });
shell shell
@ -37,7 +36,6 @@ fn main() -> Result<()> {
if let Some(Value::String(app_name)) = args.first() { if let Some(Value::String(app_name)) = args.first() {
log::info!("App clicked in Dock: {}", app_name.as_str()); log::info!("App clicked in Dock: {}", app_name.as_str());
} }
Value::Void
}); });
log::info!("Running shell with surfaces: {:?}", shell.surface_names()); log::info!("Running shell with surfaces: {:?}", shell.surface_names());