Skip to content

Fix and test for issue #3780. - #3832

Merged
brson merged 1 commit into
rust-lang:incomingfrom
Dretch:concatdocstrs
Oct 22, 2012
Merged

Fix and test for issue #3780.#3832
brson merged 1 commit into
rust-lang:incomingfrom
Dretch:concatdocstrs

Conversation

@Dretch

Copy link
Copy Markdown
Contributor

No description provided.

brson added a commit that referenced this pull request Oct 22, 2012
@brson
brson merged commit 586b22a into rust-lang:incomingOct 22, 2012
@brson

Copy link
Copy Markdown
Contributor

Thanks!

RalfJung pushed a commit to RalfJung/rust that referenced this pull request Aug 22, 2024
epoll test: avoid some subtly dangling pointers
Turns out `let data = MaybeUninit::<u64>::uninit().as_ptr();` is a dangling pointer, the memory gets freed at the end of that line. For these cases we don't care as we don't actually access the pointer, but let's not do such subtle things.
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
This fixes the a bug when merging imports from the second line when it already has a comma it would previously insert a comma.
There's probably a better way to check for a COMMA. This also ends up with a weird indentation, but rust-fmt can easily deal with it so I'm not sure how to resolve that.
Closesrust-lang#3832
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
3961: Fix double comma when merge imports on second line r=edwin0cheng a=IceSentry
This fixes the bug when merging imports from the second line when it already has a comma it would previously insert a comma.
There's probably a better way to check for a COMMA. This also ends up with a weird indentation, but rust-fmt can easily deal with it so I'm not sure how to resolve that.
Closesrust-lang#3832
Co-authored-by: IceSentry <c.giguere42@gmail.com>
Sign up for freeto 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.

2 participants

@Dretch@brson