-
Notifications
You must be signed in to change notification settings - Fork 426
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
Trim whitespace from metadata field docs
#920
Comments
docs
docs
I am not sure if this is entirely bad since this is an artifact of the actual Rust code itself. /// Foo.
fn foo() {} Will produce ///Foo.
fn foo() {} Will produce `"Foo.". Also if we treat the output as Markdown we should be careful with removal of whitespace since Markdown has semantic whitespace. E.g. indentation of a block is a code block. |
Yeah sure, but I think we shouldn't require people to write comments as
I agree. I think a valid condition would be to only remove the whitespace if every item in the |
Yes but just remove the general whitespace indentation because this is valid markdown, too:
However, if we see somthing like this:
|
Fixed by #1385 |
I thought we fixed this a long time ago, but apparently the field
docs
in our metadata still contains whitespaces at the beginning:The text was updated successfully, but these errors were encountered: