Rust Code Typing Practice
60
seconds
0
WPM
100%
accuracy
Ok(v) => v, match value { use crate::module::Item; fn name(param: Type) -> ReturnType {} struct User {} if condition {} Option<T> None => default, fn main() {} mod module; String Result<T, E> Rc<T> const NAME: Type = value; ? operator &reference Vec<T> let variable = value; enum Option<T> {} impl Trait for Type {} &mut mutable_ref RefCell<T> pub fn public() {} loop {} Some(x) => x, while condition {} println!("{}", var); for item in iter {} else {} static STATIC: Type = value; impl User {} Arc<T> pub(crate) fn crate_pub() {} trait MyTrait {} Err(e) => return Err(e), let mut mutable = value; *dereference HashMap<K, V> unwrap() expect("message") &str Box<T> Ok(v) => v, match value { use crate::module::Item; fn name(param: Type) -> ReturnType {} struct User {} if condition {} Option<T> None => default, fn main() {} mod module; String Result<T, E> Rc<T> const NAME: Type = value; ? operator &reference Vec<T> let variable = value;
Click the text area and start typing to begin
Practice typing Rust code and memory-safe programming