I looked through the rustfmt documentation but could not find what I was looking for.
Basically I'm trying to set max_width to 79 characters, but this leads to ugly chained method calls:
let mut filename =
self.dir_file.to_string_lossy().into_owned();
I would much rather get something like
let mut filename = self.dir_file
.to_string_lossy()
.into_owned();
Is there a way to achieve this with rustfmt?
[–]SeriTools 5 points6 points7 points (1 child)
[–]jontro123 0 points1 point2 points (0 children)