PistonDevelopers / Piston-Tutorials

Tutorials for Piston
545 stars 89 forks source link

Prefer specific imports over glob ones in "Getting started" tutorial #226

Closed olehmisar closed 4 years ago

olehmisar commented 4 years ago

As suggested in #202, glob imports don't fit into the tutorial because they don't show where does a specific type come from. This simple PR fixes this issue and also formats code with rustfmt to make it prettier.

bvssvni commented 4 years ago

Merging.

bvssvni commented 4 years ago

Thanks!