True, but test passes! :D

True. Although probably not important for the 8th kyu. Thanks :)

This solution mught give incorrect result in case multiplication overflows

Use spoiler flag next time, please.

This comment is hidden because it contains spoiler information about the solution

Thanks)

It collects the range 0 to n (exclusive) in its return type, a Vec<u32>.

0

n

return

Vec<u32>

Here's a more explicit example:

return (0..n as u32).collect::<Vec<u32>>();

Does that answer your question?

Please explain how it works

True, but test passes! :D

True. Although probably not important for the 8th kyu. Thanks :)

This solution mught give incorrect result in case multiplication overflows

Use spoiler flag next time, please.

This comment is hidden because it contains spoiler information about the solution

Thanks)

It collects the range

`0`

to`n`

(exclusive) in its`return`

type, a`Vec<u32>`

.Here's a more explicit example:

Does that answer your question?

Please explain how it works