Skip to content

Conversation

@pczarn
Copy link
Contributor

@pczarn pczarn commented Aug 17, 2014

Prevents zero-width spaces from appearing in copy-pasted paths.

Fixes #16555

@Gankra
Copy link
Contributor

Gankra commented Aug 17, 2014

+1 this is the right way to do it

Prevents zero-width spaces from appearing in copy-pasted paths.

Puts line breaks after `::`.

Fixes rust-lang#16555
@pczarn
Copy link
Contributor Author

pczarn commented Aug 17, 2014

I'm putting the break hint after :: to conform to conventions in English, mathematics and Rust. Parts of paths such as std and ::num might be confusing when seen on separate lines.

bors added a commit that referenced this pull request Aug 18, 2014
Prevents zero-width spaces from appearing in copy-pasted paths.

Fixes #16555
@bors bors closed this Aug 18, 2014
@bors bors merged commit 958250c into rust-lang:master Aug 18, 2014
@pczarn pczarn deleted the wbr branch January 14, 2015 16:55
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 25, 2024
…stic-fix, r=Veykril

fix: Fix false positives for "unnecessary else" diagnostic

Completes rust-lang/rust-analyzer#16567 by `@ShoyuVanilla` (see rust-lang/rust-analyzer#16567 (comment))
Fixes rust-lang#16556
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.

rustdoc type paths contain zero-width spaces

4 participants