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 a variety of minor issues #36559

Merged
merged 16 commits into from
Sep 24, 2016
Merged

Fix a variety of minor issues #36559

merged 16 commits into from
Sep 24, 2016

Conversation

grimreaper
Copy link
Contributor

CSS:

  • use integer values for font-size in CSS
  • use correct ordering of @import
  • "invisible" isn't a tag - presume its a class
  • "border-color" defines the complete border

python:

  • use "not" instead of == "[]" for python
  • prefer triple quoted docstrings
  • prefer static functions where possible
  • prefer modern style classes where possible
  • remove semicolons;

global:

  • remove duplicated words words

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@@ -2913,7 +2913,7 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {

/// See `ParameterEnvironment` struct def'n for details.
/// If you were using `free_id: NodeId`, you might try `self.region_maps.item_extent(free_id)`
/// for the `free_id_outlive` parameter. (But note that that is not always quite right.)
/// for the `free_id_outlive` parameter. (But note that is not always quite right.)
Copy link
Contributor

@TimNN TimNN Sep 18, 2016

Choose a reason for hiding this comment

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

I think the "that that" was intentional here, at least it reads better to me. If you want to get rid of the double "that", maybe "note that this is not" would be work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@grimreaper
Copy link
Contributor Author

ping?

@@ -459,7 +459,8 @@ a {
.content .search-results td:first-child { padding-right: 0; }
.content .search-results td:first-child a { padding-right: 10px; }

tr.result span.primitive::after { content: ' (primitive type)'; font-style: italic; color: black}
tr.result span.primitive::after { content: ' (primitive type)'; font-style: italic; color: black;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason for the newline here? seems surprising

Copy link
Contributor Author

Choose a reason for hiding this comment

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

can't confirm right now but I suspect this was an automatic change based on line length. It can be reverted.

@nikomatsakis
Copy link
Contributor

@bors r+ rollup

cc @steveklabnik maybe you want to eyeball the CSS but it seems fine to me

@bors
Copy link
Contributor

bors commented Sep 23, 2016

📌 Commit 0c252ff has been approved by nikomatsakis

@nikomatsakis
Copy link
Contributor

@grimreaper sorry the for delay, been traveling :)

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Sep 23, 2016
Fix a variety of minor issues

CSS:
- use integer values for font-size in CSS
- use correct ordering of @import
- "invisible" isn't a tag - presume its a class
- "border-color" defines the complete border

python:
- use "not" instead of == "[]" for python
- prefer triple quoted docstrings
- prefer static functions where possible
- prefer modern style classes where possible
- remove semicolons;

global:
- remove duplicated words words
bors added a commit that referenced this pull request Sep 24, 2016
Rollup of 7 pull requests

- Successful merges: #36018, #36498, #36500, #36559, #36566, #36578, #36664
- Failed merges:
@bors bors merged commit 0c252ff into rust-lang:master Sep 24, 2016
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