summaryrefslogtreecommitdiffstats
path: root/svgbob/src/buffer/fragment_buffer/fragment/rect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'svgbob/src/buffer/fragment_buffer/fragment/rect.rs')
-rw-r--r--svgbob/src/buffer/fragment_buffer/fragment/rect.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/svgbob/src/buffer/fragment_buffer/fragment/rect.rs b/svgbob/src/buffer/fragment_buffer/fragment/rect.rs
index d716dc7..97a15e0 100644
--- a/svgbob/src/buffer/fragment_buffer/fragment/rect.rs
+++ b/svgbob/src/buffer/fragment_buffer/fragment/rect.rs
@@ -107,8 +107,8 @@ impl fmt::Display for Rect {
}
}
-impl Into<Node<()>> for Rect {
- fn into(self) -> Node<()> {
+impl<MSG> Into<Node<MSG>> for Rect {
+ fn into(self) -> Node<MSG> {
rect(
vec![
x(self.start.x),