Open
Description
The following is output of rustfmt:
fn f() {
x.f()
.0
.0
.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa();
}
Note that the second .0
is offset by a single space. I know that this is because of compatibility with old rustc versions that lexed .0.0
as a float (i.e. #4355 (comment)).
However, in this case, the additional space is not needed -- they are on different lines (and in fact have multiple spaces just because of the indentation).