Skip to content
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

fix(proc-macros): trim docstring lines #1878

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

ptitjes
Copy link
Contributor

@ptitjes ptitjes commented Dec 1, 2023

We avoid storing useless spaces in proc-macros metadata.

@ptitjes ptitjes requested a review from a team as a code owner December 1, 2023 16:43
@ptitjes ptitjes requested review from mhammond and removed request for a team December 1, 2023 16:43
uniffi_macros/src/util.rs Outdated Show resolved Hide resolved
@mhammond mhammond requested review from badboy and removed request for mhammond December 1, 2023 16:55
@ptitjes ptitjes force-pushed the proc-macros-trim-docstring-lines branch from 21ae6c5 to 4109574 Compare December 1, 2023 17:21
@mhammond mhammond merged commit 9f39bd9 into mozilla:main Dec 2, 2023
@arg0d
Copy link
Contributor

arg0d commented Dec 4, 2023

Wouldn't this break indentation?

@badboy
Copy link
Member

badboy commented Dec 4, 2023

Wouldn't this break indentation?

I had the same thought over the weekend. I'll add a test case later so we properly capture (and handle) this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants