mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 03:48:27 +00:00
Update name of struct field
This commit is contained in:
parent
daebaf0a7d
commit
5bb1ec1a9a
@ -47,7 +47,7 @@ impl Operation for Shape {
|
|||||||
|
|
||||||
pub struct ShapeExtender<'r, NewOps, T> {
|
pub struct ShapeExtender<'r, NewOps, T> {
|
||||||
store: &'r mut Store<T>,
|
store: &'r mut Store<T>,
|
||||||
sequence: &'r mut Vec<AnyOp>,
|
ops: &'r mut Vec<AnyOp>,
|
||||||
new_ops: NewOps,
|
new_ops: NewOps,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ impl<'r, T> ShapeExtender<'r, (), T> {
|
|||||||
fn new(store: &'r mut Store<T>, sequence: &'r mut Vec<AnyOp>) -> Self {
|
fn new(store: &'r mut Store<T>, sequence: &'r mut Vec<AnyOp>) -> Self {
|
||||||
Self {
|
Self {
|
||||||
store,
|
store,
|
||||||
sequence,
|
ops: sequence,
|
||||||
new_ops: (),
|
new_ops: (),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -69,11 +69,11 @@ impl<'r, NewOps, T> ShapeExtender<'r, NewOps, T> {
|
|||||||
{
|
{
|
||||||
let op = self.store.insert(op.into());
|
let op = self.store.insert(op.into());
|
||||||
|
|
||||||
self.sequence.push(op.to_any());
|
self.ops.push(op.to_any());
|
||||||
|
|
||||||
ShapeExtender {
|
ShapeExtender {
|
||||||
store: self.store,
|
store: self.store,
|
||||||
sequence: self.sequence,
|
ops: self.ops,
|
||||||
new_ops: self.new_ops.push_right(op),
|
new_ops: self.new_ops.push_right(op),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user