diff --git a/src/lib.rs b/src/lib.rs index 52fab86..c7c8c4a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -83,8 +83,7 @@ impl ChartManager { // Recommends a possible solution to an error from method `test_func` pub fn error_recommend(error_string: String) -> String { match error_string.as_str() { - "Parse error: Unexpected token x." => "Always explicitly state multiplication using an asterisk.", - _ => "Make sure you're using proper syntax! Check the 'Frequent issues' for more info" + _ => "Make sure you're using proper syntax! Check the 'Frequent issues' for possible fixes." }.to_string() } diff --git a/www/index.html b/www/index.html index 95fb905..3a03664 100644 --- a/www/index.html +++ b/www/index.html @@ -39,13 +39,13 @@
y=-2x that doesn’t explicitly request multiplication through the use of an asterisk will fail. Also chaining variables such as xxxx will fail, whereas x*x*x*x (or x^4) will not fail, this also applies for static variables such as e.y=-2x that doesn’t explicitly request multiplication through the use of an asterisk will fail. Also chaining variables such as y=xxxx will fail, whereas y=x*x*x*x (or y=x^4) will not fail, this also applies for static variables such as e.