atagen

monolith

public
Star0
Watch0

Commit 7a16cb5ea593

tarball

atagen <boss@atagen.co>2026-10-19 08:04 UTC

2 files changed+12-3
style: rustfmt the merged branches
Modified file: crates/protocols/src/output_power.rs+4 additions−1 deletions
@@ -121,7 +121,10 @@ where
121121 handle.failed();
122122 return;
123123 };
124- state.output_power_state().controls.retain(|c| c.handle.is_alive());
124+ state
125+ .output_power_state()
126+ .controls
127+ .retain(|c| c.handle.is_alive());
125128 if state
126129 .output_power_state()
127130 .controls
Modified file: crates/render-vk/src/device.rs+8 additions−2 deletions
@@ -234,7 +234,10 @@ fn driver_env(node: u64) -> Vec<(&'static str, std::ffi::OsString)> {
234234 else {
235235 return Vec::new();
236236 };
237- let driver = driver.file_name().and_then(|d| d.to_str()).unwrap_or_default();
237+ let driver = driver
238+ .file_name()
239+ .and_then(|d| d.to_str())
240+ .unwrap_or_default();
238241 let mut env = Vec::new();
239242 let glob = match driver {
240243 "nvidia" => Some("*nvidia*"),
@@ -255,7 +258,10 @@ fn driver_env(node: u64) -> Vec<(&'static str, std::ffi::OsString)> {
255258 {
256259 env.push(("VK_LOADER_DRIVERS_SELECT", glob.into()));
257260 }
258- let glvnd = ["__EGL_VENDOR_LIBRARY_FILENAMES", "__EGL_VENDOR_LIBRARY_DIRS"];
261+ let glvnd = [
262+ "__EGL_VENDOR_LIBRARY_FILENAMES",
263+ "__EGL_VENDOR_LIBRARY_DIRS",
264+ ];
259265 if driver == "nvidia"
260266 && !set(&glvnd)
261267 && let Some(vendor) = nvidia_egl_vendor()