update comments

This commit is contained in:
Simon Gardling 2022-03-10 14:42:31 -05:00
parent c692c7c3a2
commit 4459365d65
2 changed files with 1 additions and 2 deletions

View File

@ -94,7 +94,7 @@ lazy_static::lazy_static! {
debug_log(&format!("Loading file: {}", path_string)); debug_log(&format!("Loading file: {}", path_string));
// Match the filename // Match the file extention
if path_string.ends_with(".ttf") { if path_string.ends_with(".ttf") {
// Parse font files // Parse font files
let font_data = FontData::from_owned(data); let font_data = FontData::from_owned(data);

View File

@ -146,7 +146,6 @@ pub fn newtons_method(
} }
if last_ele_signum != ele_signum { if last_ele_signum != ele_signum {
// Do 50 iterations of newton's method, should be more than accurate
let x = { let x = {
let mut x1: f64 = last_ele.unwrap().x; let mut x1: f64 = last_ele.unwrap().x;
let mut x2: f64; let mut x2: f64;