Hopson97/rusty-gl

Documentation mismatch for rgl::buffers::bind_buffer

wyf18 opened this issue ยท 0 comments

wyf18 commented

Hello! ๐Ÿ™
While scanning crates.io. we noticed a document-code mismatch issue in this crate, we think the doc examples are generally meant to illustrate why someone would want to use the item.

Location

documentation for rgl::buffers::[bind_buffer](https://docs.rs/rgl/0.2.0/rgl/buffers/fn.bind_buffer.html)

rgl::buffers::[gen_buffer](https://docs.rs/rgl/0.2.0/rgl/buffers/fn.gen_buffer.html)

Summary

The example of the document does not mention the bind_buffer, gen_buffer function, it is not clear how to use it.

Thank you for checking out this issue! ๐Ÿ‘๐Ÿค—