Also on the same page "Data races are mostly prevented through Rust's ownership system".
In short, the borrow checker allows a single owner at all times, or it allows references to the object, abiding these rules: it may have any number of read-only references (they are safe to share), OR a single read-write reference.
Safe Rust forbids this through ownership and move semantics along with lifetime analysis. You may create any number of immutable aliases to data, or exactly one mutable alias. You cannot mix the two.
Unsafe allows you to (kind of) sidestep the automatic checking, but its your responsibility to uphold those conditions.
Java's synchronized keyword changes how code is interpreted to use expensive locking and data fences in order to prevent logical race conditions.
Rust's semantics do not alter the compiled code or insert any locking behavior. They prevent you from writing incorrect code to begin with.
In other words, Rust doesn't do anything magical to deal with data races at run time. It prevents you from expressing programs that have data races in the first place. It's a compile time analysis, not a run time behavior.