I just finished reading about the latest progress on rustfm (Rustfmt-ing Rust ). Having done some work in Go I’m already a fan of automated formatting…so I’m really glad that people put effort into this tool.
The article mentions that rustfmt still suffers from stability problems. Since the program itself is written in Rust, I was wondering what is the cause of these crashes? tried to find uses of
unsafe in it’s source-code https://github.com/nrc/rustfmt but there only seems very limited usage of
unsafe in the code. Maybe this is a naive question but shouldn’t it be rather easy to prevent crashes? maybe I’m missing something…or maybe the author refers to panics at runtime. Anybody familiar with the problems?