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

doc: remove needless bindings #32440

Merged
merged 1 commit into from
Mar 26, 2016
Merged

doc: remove needless bindings #32440

merged 1 commit into from
Mar 26, 2016

Conversation

tshepang
Copy link
Member

The extra syntax is more noise than help in simple examples like this

@rust-highfive
Copy link
Collaborator

r? @jroesch

(rust_highfive has picked a reviewer for you, use r? to override)

/// // love is many things, but it is not alphabetic
/// assert!(!c.is_alphabetic());
/// assert!(!'❤️'.is_alphabetic());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changing my heart, tisk tisk! 😉

@steveklabnik
Copy link
Member

So, I think I feel good about this change, but I'm not sure. @GuillaumeGomez , what do you think?

@GuillaumeGomez
Copy link
Member

In this case, it's obvious we're working on chars so the binding seems useless for me as well. I'm all for it! :)

@steveklabnik
Copy link
Member

The heart change is actually breaking; 💖 is a char, but ❤️ isn't.

@eddyb
Copy link
Member

eddyb commented Mar 23, 2016

@steveklabnik They both are single Unicode codepoints, but @tshepang actually had "\u{2764}\u{fe0f}" - the second codepoint being "Variation Selector 16". It doesn't add the sparkles for me, but some OS with pervasive normalization might cause this on copy/paste.

EDIT: Actually, it's supposed to be "emoji style". Either way, the second codepoint can be safely removed.

@tshepang
Copy link
Member Author

I reverted the weird heart thing

@steveklabnik
Copy link
Member

travis is happy so i am happy. Thanks @tshepang !

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Mar 24, 2016

📌 Commit 2c48214 has been approved by steveklabnik

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 26, 2016
doc: remove needless bindings

The extra syntax is more noise than help in simple examples like this
bors added a commit that referenced this pull request Mar 26, 2016
Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 26, 2016
doc: remove needless bindings

The extra syntax is more noise than help in simple examples like this
bors added a commit that referenced this pull request Mar 26, 2016
Rollup of 6 pull requests

- Successful merges: #32383, #32387, #32440, #32470, #32478, #32492
- Failed merges:
@bors bors merged commit 2c48214 into rust-lang:master Mar 26, 2016
@tshepang tshepang deleted the compact branch March 30, 2016 09:41
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.

7 participants