495: Update a documentation to refer to create_buffer_init() instead of create_buffer_with_data() r=kvark a=yutannihilation

A followup of #482

Co-authored-by: Hiroaki Yutani <yutani.ini@gmail.com>
This commit is contained in:
bors[bot]andHiroaki Yutani authored and GitHub committed 2020-08-02 00:26:48 +00:00
commit ffa9199402
1 file changed
+1 -1
+1 -1
View File
@@ -492,7 +492,7 @@ impl MapContext {
/// Handle to a GPU-accessible buffer.
///
/// Created with [`Device::create_buffer`] or [`Device::create_buffer_with_data`]
/// Created with [`Device::create_buffer`] or [`Device::create_buffer_init`]
#[derive(Debug)]
pub struct Buffer {
context: Arc<C>,