remove recommendations
This commit is contained in:
parent
1935d92059
commit
e544c4d35c
@ -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()
|
||||
}
|
||||
|
||||
|
||||
@ -39,13 +39,13 @@
|
||||
|
||||
<h3 id="Frequent%20Issues">Frequent Issues</h3>
|
||||
|
||||
<h4 id="Not%20using%20explicit%20Multiplication">Not using explicit Multiplication</h4>
|
||||
<h4 id="Not%20Using%20Explicit%20Multiplication">Not Using Explicit Multiplication</h4>
|
||||
|
||||
<ul>
|
||||
<li>Equations such as <code>y=-2x</code> that doesn’t explicitly request multiplication through the use of an asterisk will fail. Also chaining variables such as <code>xxxx</code> will fail, whereas <code>x*x*x*x</code> (or <code>x^4</code>) will not fail, this also applies for static variables such as <code>e</code>.</li>
|
||||
<li>Equations such as <code>y=-2x</code> that doesn’t explicitly request multiplication through the use of an asterisk will fail. Also chaining variables such as <code>y=xxxx</code> will fail, whereas <code>y=x*x*x*x</code> (or <code>y=x^4</code>) will not fail, this also applies for static variables such as <code>e</code>.</li>
|
||||
</ul>
|
||||
|
||||
<h4 id="What%20Expressions%20can%20I%20use?">What Expressions can I use?</h4>
|
||||
<h4 id="What%20Expressions%20Can%20I%20Use?">What Expressions Can I Use?</h4>
|
||||
|
||||
<ul>
|
||||
<li><a href="https://github.com/Titaniumtown/meval-rs#supported-expressions">Supported Expressions</a></li>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user