Closed Mythos-404 closed 1 year ago
fn main() { println!("{}", fib(10)) } fn fib(n: u64) -> u64 { fn iter(next: u64, prev: u64, num: u64) -> u64 { match num { 0 | 1 => next, _ => iter(prev, prev + next, num - 1), } } iter(0, 1, n) }
code structure is broken when triggering the addition of colons
The plugin isn't stable for rust yet. Hopefully it will be soon.
I've turned off semicolon completion in the rust language, rust's semicolons were too uncertain But I'm happy with it in other languages.
Example code
Context
code structure is broken when triggering the addition of colons