Skip to content

Conversation

@alexpw
Copy link
Contributor

@alexpw alexpw commented May 8, 2023

Caveat: I don't know/use rust, but I ref'd the rust-lang book, etc.

@alexpw alexpw marked this pull request as draft May 8, 2023 05:56
@alexpw
Copy link
Contributor Author

alexpw commented May 8, 2023

Pulled back in to draft because it's currently not handling this case correctly.

fn test() {
    let foo = stuff();
   foo != foo;
}

and produces:

fn test() { let foo = stuff();foo != foo;  }

(missing space between semi-colon and extra space before closing curly brace)

Will work on a solution to the above when I get another minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

toggle_multiline() breaks casting in Rust

1 participant