summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6f26672..d6a1374 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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());