diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ pub struct Bezier { pub px: Poly, pub py: Poly, pub dpx: Poly, - pub dpy: Poly + pub dpy: Poly, } impl Bezier { @@ -47,7 +47,7 @@ impl Bezier { self.degree -= 1; } - pub fn show_x(&self) -> String{ + pub fn show_x(&self) -> String { let mut s = String::new(); for i in 0..self.degree { s.push_str(&self.vx[i].to_string()); |