summaryrefslogtreecommitdiffstats
path: root/examples/bezier_tool/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bezier_tool/src')
-rw-r--r--examples/bezier_tool/src/main.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/bezier_tool/src/main.rs b/examples/bezier_tool/src/main.rs
index 023eb0f7..c3fbf276 100644
--- a/examples/bezier_tool/src/main.rs
+++ b/examples/bezier_tool/src/main.rs
@@ -23,7 +23,6 @@ mod bezier {
basic_shapes, BuffersBuilder, StrokeAttributes, StrokeOptions,
StrokeTessellator, VertexBuffers,
};
- use std::sync::Arc;
pub struct Bezier<'a, Message> {
state: &'a mut State,
@@ -175,10 +174,10 @@ mod bezier {
let mesh = Primitive::Mesh2D {
origin: Point::new(bounds.x, bounds.y),
- buffers: Arc::new(Mesh2D {
+ buffers: Mesh2D {
vertices: buffer.vertices,
indices: buffer.indices,
- }),
+ },
};
(