The Rust docs claim most things actually came from ML and OCaml: https://doc.rust-lang.org/reference/influences.html
They only mention Haskell's type classes and type families as inspiring a Rust feature directly (traits).
They only mention Haskell's type classes and type families as inspiring a Rust feature directly (traits).