Skip to content

Commit

Permalink
fmt, clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
YilunAllenChen committed Nov 1, 2023
1 parent 6465049 commit 1836436
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/code/artifact_model.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{fmt::Display, f32::consts::E};
use std::fmt::Display;

use serde::{Deserialize, Serialize};

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/html_utils/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mod tags;
pub use tags::make_tag;
pub mod scroll;
pub mod scroll;
2 changes: 1 addition & 1 deletion src/html_utils/scroll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ pub fn try_scroll_to(id: &str) {
log::error!("Could not get window");
}
}
}
}

0 comments on commit 1836436

Please sign in to comment.