- commit
- b474cbf2e75d6c81d8843012078637de0321e02e
- parent
- a6c1ad4cf39e340db13cf155ef00c7cef18e2173
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-02-19 12:31
Gardening: move "extern crate" to the top
Diffstat
| M | src/input.rs | 4 | ++-- |
| M | src/main.rs | 4 | ++-- |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/input.rs b/src/input.rs
@@ -1,7 +1,7 @@1 -1 use std::io::Read;2 -13 1 extern crate libc; 4 2 -1 3 use std::io::Read; -1 4 5 5 pub struct Input { 6 6 termios: libc::termios, 7 7 }
diff --git a/src/main.rs b/src/main.rs
@@ -1,11 +1,11 @@ -1 1 extern crate libc; -1 2 1 3 mod enemies; 2 4 mod input; 3 5 mod random; 4 6 mod sprites; 5 7 mod term; 6 87 -1 extern crate libc;8 -19 9 use std::sync::atomic::{AtomicBool, Ordering}; 10 10 use std::{thread, time}; 11 11