100-exercises-to-learn-rust/exercises/07_threads/00_intro/src/lib.rs

18 lines
293 B
Rust
Raw Normal View History

2024-05-13 04:21:03 +08:00
fn intro() -> &'static str {
// TODO: fix me 👇
2024-05-13 20:25:23 +08:00
"I'm ready to _!"
2024-05-13 04:21:03 +08:00
}
#[cfg(test)]
mod tests {
use crate::intro;
#[test]
fn test_intro() {
assert_eq!(
intro(),
"I'm ready to build a concurrent ticket management system!"
);
}
}