Question from the General knowledge for developers test

Write a Rust function that returns the first 10 prime numbers.