diff --git a/src/code/artifact_model.rs b/src/code/artifact_model.rs index afd9523..8c5df45 100644 --- a/src/code/artifact_model.rs +++ b/src/code/artifact_model.rs @@ -1,4 +1,4 @@ -use std::{fmt::Display, f32::consts::E}; +use std::fmt::Display; use serde::{Deserialize, Serialize}; @@ -71,13 +71,13 @@ impl ExhibitionHall { ExhibitionHall::Uncategorized => { r#"The Hall of Uncategorized contains artifacts that currently do not fit into any of the other halls."# - }, + } ExhibitionHall::HallOfSafety => { r#"When designing large-scale software, safety and reliability becomes utterly important. Hall Of Safety is the home of artifacts that emphasize on extreme robustness, allowing programmers to interact with them with confidence, and sleep well at night. "# - }, + } ExhibitionHall::HallOfArt => { r#"Although most computer programs are pragmatic and utilitarian, it doesn't restrict people from fully leveraging their creativity and imagination. The Hall of Art contains artifacts that dare to diff --git a/src/html_utils/mod.rs b/src/html_utils/mod.rs index df22853..4edde9a 100644 --- a/src/html_utils/mod.rs +++ b/src/html_utils/mod.rs @@ -1,3 +1,3 @@ mod tags; pub use tags::make_tag; -pub mod scroll; \ No newline at end of file +pub mod scroll; diff --git a/src/html_utils/scroll.rs b/src/html_utils/scroll.rs index cb30add..a2fc807 100644 --- a/src/html_utils/scroll.rs +++ b/src/html_utils/scroll.rs @@ -14,4 +14,4 @@ pub fn try_scroll_to(id: &str) { log::error!("Could not get window"); } } -} \ No newline at end of file +}