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

18 lines
294 B
Rust
Raw Normal View History

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