Fixing lint warnings

This commit is contained in:
Stephen Chung
2020-03-24 16:57:35 +08:00
parent 3ea482567f
commit d21f66b911
13 changed files with 87 additions and 76 deletions

View File

@@ -8,7 +8,7 @@
//! ```,ignore
//! fn factorial(x) {
//! if x == 1 { return 1; }
//! x * factorial(x - 1)
//! x * factorial(x - 1)
//! }
//!
//! compute_something(factorial(10))
@@ -22,7 +22,7 @@
//! fn main() -> Result<(), EvalAltResult>
//! {
//! fn compute_something(x: i64) -> bool {
//! (x % 40) == 0
//! (x % 40) == 0
//! }
//!
//! let mut engine = Engine::new();