You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fntest() -> Result<i32,String>{let r:Result<i32,String> = Ok(17);
r.map_err(|err| format!("Someting really, really wrong, may be flash in the sun : {}", err))?;Ok(15)}
rustfmt works without problem, but if I place the same amount of chars (not bytes) into line:
fntest() -> Result<i32,String>{let r:Result<i32,String> = Ok(17);
r.map_err(|err| format!("Что-то пошло совсем не так, может быть вспышка на солнце: {}", err))?;Ok(15)}
it reports error: line exceeded maximum length (maximum: 100, found: 144) (sorry)
rustfmt should work with chars, not bytes, because of editors/code review tools and so on,
display both code examples using the same amount of horizontal space.
The text was updated successfully, but these errors were encountered:
If I run:
with such code:
rustfmt works without problem, but if I place the same amount of chars (not bytes) into line:
it reports error: line exceeded maximum length (maximum: 100, found: 144) (sorry)
rustfmt should work with chars, not bytes, because of editors/code review tools and so on,
display both code examples using the same amount of horizontal space.
The text was updated successfully, but these errors were encountered: