diff --git a/src/main.rs b/src/main.rs index 46dc0b4..b11d149 100644 --- a/src/main.rs +++ b/src/main.rs @@ -94,8 +94,7 @@ weather_illumination_relative {lux} #[tokio::main(flavor="current_thread")] async fn main() -> Result<()> { - let home = format!("

Weather Station v0.1

"); - let home: &'static str = Box::leak(home.into_boxed_str()); + let home = "

Weather Station v0.1

"; let station = Station::new()?; let station = Arc::new(Mutex::new(station));