mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Rename VertexAttribs::set_from to VertexAttribs::clone_from
This commit is contained in:
parent
0018e5e6ba
commit
0814bd6699
2 changed files with 3 additions and 3 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue