Add comments with type annotations.

This will hopefully help people with their first steps in Rust.

Fixes #16143.

/cc @jvns
If you look at Github’s rendered diff, the comments aren’t aligned. I think that might be because there are a few tab characters hanging around in there?