Rename VertexAttribs::set_from to VertexAttribs::clone_from

This commit is contained in:
Anthony Ramine 2018-07-03 02:11:35 +02:00
parent 0018e5e6ba
commit 0814bd6699
2 changed files with 3 additions and 3 deletions

View file

@ -3811,7 +3811,7 @@ impl VertexAttribs {
}
}
pub fn set_from(&self, other: &Self) {
pub fn clone_from(&self, other: &Self) {
self.attribs.borrow_mut().clone_from_slice(&other.attribs.borrow());
}