replace statics with consts
Browse files
+2 −2 src/bin/main.rs
| @@ -3,8 +3,8 @@ use oxwm::errors::MainError; | ||
| 3 | 3 | use std::path::Path; |
| 4 | 4 | use std::path::PathBuf; |
| 5 | 5 | |
| 6 | -static CONFIG_FILE: &str = "config.lua"; | |
| 7 | -static TEMPLATE: &str = include_str!("../../templates/config.lua"); | |
| 6 | +const CONFIG_FILE: &str = "config.lua"; | |
| 7 | +const TEMPLATE: &str = include_str!("../../templates/config.lua"); | |
| 8 | 8 | |
| 9 | 9 | enum Args { |
| 10 | 10 | Exit, |