Add rustfmt.toml for explicit styling (#348)

* Propose an explicit .rustfnt.toml
Use 2024 style, 4 spaces for tabs and epand the default width a tad

* Auto-format the existing code with new rules
This commit is contained in:
NeoTheFox
2025-11-02 14:52:01 +04:00
committed by GitHub
parent 3483d242e2
commit 3f13714d8a
36 changed files with 115 additions and 109 deletions

View File

@@ -12,9 +12,9 @@ pub enum InputCaptureError {
use std::io;
#[cfg(all(unix, feature = "layer_shell", not(target_os = "macos")))]
use wayland_client::{
ConnectError, DispatchError,
backend::WaylandError,
globals::{BindError, GlobalError},
ConnectError, DispatchError,
};
#[cfg(all(unix, feature = "libei", not(target_os = "macos")))]