Last chapter on async Rust

This commit is contained in:
LukeMathWalker committed 2024-05-15 20:01:05 +02:00
1 parent 6e581440bf
commit aa58dcb5ca
33 files changed
+1799 -10

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
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 learn about futures!");
}
}