Skip to content

doc: add license information for gen. files #12094

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

Merged
merged 1 commit into from
Feb 8, 2014

Conversation

adrientetar
Copy link
Contributor

Closes #12069.

cc @brson

@brson
Copy link
Contributor

brson commented Feb 7, 2014

I r+'d this with the following rationale:

  • docs which originated in-tree are already covered by the prevailing license, MIT/ASL2
  • docs which originated out-of-tree (cheatsheet, bugreport, proj/lang/usage faq) are predominantly written by Mozilla employees, or other contributors of long-standing who are aware of the project's licensing. Contributions by others are minor and unlikely to cause legal problems. This documentation is all likely to be heavily rewritten over the next few months anyway.

I do still intend to relicense the wiki eventually, obtaining statements from all wiki contributors, which should cement the status of the latter.

bors added a commit that referenced this pull request Feb 8, 2014
@bors bors closed this Feb 8, 2014
@bors bors merged commit ec2f047 into rust-lang:master Feb 8, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 18, 2024
…ndomDev99

fix: incorrect suggestions when `.then` and `.then_some` is used

fixes rust-lang#11910

In the current implementation of `search_is_some`, if a `.is_none` call is followed by a `.then` or `.then_some` call, the generated `!` will incorrectly negate the values returned by the `then` and `.then_some` calls. To fix this, we need to add parentheses to the generated suggestions when appropriate.

changelog: [`search_is_some`]: add parenthesis to suggestions when appropriate
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.

License in-tree docs correctly
3 participants