Commit 7d865763 authored by James Sral's avatar James Sral

Remove extra parenthesis around function argument to compile

* Compiling on 1.25.0-nightly fails due to extra parenthesis around
  function arguments
  * Remove to restore successful compilation
parent f98a9423
......@@ -78,7 +78,7 @@ impl Editor {
let ch = self.get_char();
if let Some(o) = self.next_ocur(ch, n.d()) {
Some((to_signed_pos((o, y))))
Some(to_signed_pos((o, y)))
} else {
None
}
......@@ -87,7 +87,7 @@ impl Editor {
let ch = self.get_char();
if let Some(o) = self.previous_ocur(ch, n.d()) {
Some((to_signed_pos((o, y))))
Some(to_signed_pos((o, y)))
} else {
None
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment