Module: Mesa Branch: main Commit: 804201a3d70af2c78612052ab3e9c13ee0bdbbcb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=804201a3d70af2c78612052ab3e9c13ee0bdbbcb
Author: Faith Ekstrand <[email protected]> Date: Mon Nov 27 11:38:47 2023 -0600 nak: Run rustfmt Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26382> --- src/nouveau/compiler/nak_ir.rs | 5 +---- src/nouveau/compiler/nvfuzz.rs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/nouveau/compiler/nak_ir.rs b/src/nouveau/compiler/nak_ir.rs index bafe80dee74..781aa9649ab 100644 --- a/src/nouveau/compiler/nak_ir.rs +++ b/src/nouveau/compiler/nak_ir.rs @@ -1909,10 +1909,7 @@ impl fmt::Display for MemAccess { write!( f, "{}{}{}{}", - self.space, - self.order, - self.eviction_priority, - self.mem_type, + self.space, self.order, self.eviction_priority, self.mem_type, ) } } diff --git a/src/nouveau/compiler/nvfuzz.rs b/src/nouveau/compiler/nvfuzz.rs index 25141660960..07218565420 100644 --- a/src/nouveau/compiler/nvfuzz.rs +++ b/src/nouveau/compiler/nvfuzz.rs @@ -36,7 +36,7 @@ fn find_cuda() -> std::io::Result<PathBuf> { path.push("bin"); path.push("nvdisasm"); if path.exists() { - return Ok(path) + return Ok(path); } }
