diff options
author | Finn Behrens <me@kloenk.de> | 2020-10-05 13:23:01 +0200 |
---|---|---|
committer | Finn Behrens <me@kloenk.de> | 2020-10-05 17:52:07 +0200 |
commit | 0d05ea2259bd821445f1b3091199082217255184 (patch) | |
tree | 7041411063372a949d9e5bd13beb109da4f36ae2 /drivers/char/rust_example | |
parent | c17d29003c09d52d5ab4d61b08d59ad26f07208b (diff) |
add rustfmt.toml
Signed-off-by: Finn Behrens <me@kloenk.de>
Diffstat (limited to 'drivers/char/rust_example')
-rw-r--r-- | drivers/char/rust_example/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/rust_example/src/lib.rs b/drivers/char/rust_example/src/lib.rs index e8405f12ce44..fe74656d977d 100644 --- a/drivers/char/rust_example/src/lib.rs +++ b/drivers/char/rust_example/src/lib.rs @@ -5,7 +5,7 @@ use kernel::prelude::*; -module!{ +module! { type: RustExample, name: b"rust_example", author: b"Rust for Linux Contributors", @@ -48,4 +48,3 @@ impl Drop for RustExample { println!("Rust Example (exit)"); } } - |