Rust typing practice
Typre is a free typing trainer for programmers. Instead of prose, you type real Rust — brackets, operators and indentation included — and it measures WPM, accuracy, raw speed and consistency on every run.
- 181Rust snippets
- 61for 15 second runs
- 60for 30 second runs
- 60for 60 second runs
What slows you down in Rust
Ampersands and lifetimes: &mut, &str, <'a>. The ? operator ends lines, turbofish ::<> appears mid-expression, and macro calls end in ! — all characters your fingers do not reach for in other languages.
What the snippets cover
Structs and enums with impl blocks, match on Option and Result, iterators and closures, traits and generics, borrowing, async with .await, and Cargo.toml style declarations.
Snippets you will actually type
Three of the 61 short Rust snippets, exactly as they appear in the app:
fn add(a: i32, b: i32) -> i32 {
a + b
}
impl User {
fn greet(&self) -> String { self.name.clone() }
}
trait Shape {
fn area(&self) -> f64;
}
How it works
Pick 15, 30 or 60 seconds. Snippets are served in shuffled order, so you never repeat one before finishing a full round — even across page reloads. Sign in to put scores on the leaderboard, race a friend on the same snippet in real time, or paste code from your own project. None of it is required: open the page and start typing.