kornelski / rust-rgb

struct RGB for sharing pixels between crates
https://lib.rs/rgb
MIT License
98 stars 19 forks source link

Add Use Statements to Docstring Example #37

Closed zicklag closed 4 years ago

zicklag commented 4 years ago

Hey there, I found it a little confusing at first as I tried to figure out how to convert my pixels into bytes partly because I didn't realize I had to import the ComponentBytes trait. Hopefully this minor addition to the documentation will help others, too. :slightly_smiling_face:

kornelski commented 4 years ago

Thanks