chore: rustfmt

This commit is contained in:
2025-09-12 20:52:07 -05:00
parent e5d8cec2d6
commit b2b4bb67f0
3 changed files with 6 additions and 8 deletions

View File

@@ -1,13 +1,13 @@
//! Bot commands module.
pub mod gcal;
pub mod ics;
pub mod search;
pub mod terms;
pub mod time;
pub mod ics;
pub mod gcal;
pub use gcal::gcal;
pub use ics::ics;
pub use search::search;
pub use terms::terms;
pub use time::time;
pub use ics::ics;
pub use gcal::gcal;

View File

@@ -92,9 +92,7 @@ fn parse_course_code(input: &str) -> Result<(i32, i32), Error> {
};
if low > high {
return Err(anyhow!(
"Invalid range: low value greater than high value"
));
return Err(anyhow!("Invalid range: low value greater than high value"));
}
if low < 1000 || high > 9999 {

View File

@@ -1,6 +1,6 @@
//! Time command implementation for course meeting times.
use crate::bot::{utils, Context, Error};
use crate::bot::{Context, Error, utils};
use tracing::info;
/// Get meeting times for a specific course