-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustdoc: Accept tabs as indentation character #29495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @cmr (rust_highfive has picked a reviewer for you, use r? to override) |
Well, that's embarrassing. I didn't notice a call to The way I see it, there are two options:
I'm not entirely sure what would be best. |
I'm tempted to just say trim all whitespace. |
That's fine by me. I updated the fix and the tests. Give me the signal and I'll squash the commits. |
Let's do it. r=me after a squash |
A line may be indented with both spaces or tabs. All leading whitespace is trimmed, even if it is mixed.
It's done. Thank you, @steveklabnik. |
@bors: r+ |
📌 Commit a9cbf6c has been approved by |
A line may be indented with either spaces or tabs, but not a mix of both. If there is a mix of tabs and spaces, only the kind that occurs first is counted. This addresses issue #29268.
A line may be indented with either spaces or tabs, but not a mix of both. If there is a mix of tabs and spaces, only the kind that occurs first is counted.
This addresses issue #29268.