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

Change 'if' to lowercase, so it displays better on the site #19930

Merged
merged 1 commit into from
Dec 17, 2014

Conversation

cllns
Copy link
Contributor

@cllns cllns commented Dec 16, 2014

On the guide site I was confused when I got to "5 If". It looked like "5 LF" in lowercase.

Changing the if to lowercase solves this problem. I know titles are all capitalized, but I think it makes sense in this case to keep it lowercase, since if is a reserved word. I'd also be open to making it if but I'm not sure how that would look on the site.

Before:
screen shot 2014-12-16 at 12 58 01
After:
screen shot 2014-12-16 at 12 58 14

@steveklabnik
Copy link
Member

I would prefer the if version, can you try that and show a screenshot of it as well?

@cllns
Copy link
Contributor Author

cllns commented Dec 16, 2014

I'm having trouble w/ pandoc so I can't be sure, but this is what I think it'll look like (using firebug)
screen shot 2014-12-16 at 13 33 42

@steveklabnik
Copy link
Member

Looks about right. Thanks!

@steveklabnik
Copy link
Member

Oh, can you squash these please? r=me after you do

@cllns
Copy link
Contributor Author

cllns commented Dec 16, 2014

@steveklabnik squashed!

@steveklabnik
Copy link
Member

Thanks!

bors added a commit that referenced this pull request Dec 17, 2014
Change 'if' to lowercase, so it displays better on the site

Reviewed-by: steveklabnik
bors referenced this pull request Dec 17, 2014
Using a type alias for iterator implementations is fragile since this
exposes the implementation to users of the iterator, and any changes
could break existing code.

This commit changes the iterators of `VecMap` to use
proper new types, rather than type aliases.  However, since it is
fair-game to treat a type-alias as the aliased type, this is a:

[breaking-change].
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Dec 17, 2014
On the [guide site](http://doc.rust-lang.org/guide.html#if) I was confused when I got to "5 If". It looked like "5 LF" in lowercase.

Changing the if to lowercase solves this problem. I know titles are all capitalized, but I think it makes sense in this case to keep it lowercase, since `if` is a reserved word. I'd also be open to making it ```    `if`   ``` but I'm not sure how that would look on the site.

Before:
![screen shot 2014-12-16 at 12 58 01](https://cloud.githubusercontent.com/assets/632942/5458866/cb34c006-8523-11e4-89ef-3a3964bcedfc.png)
After:
![screen shot 2014-12-16 at 12 58 14](https://cloud.githubusercontent.com/assets/632942/5458865/cb33c444-8523-11e4-8d95-d377ed583ed6.png)
@bors bors merged commit 73d395e into rust-lang:master Dec 17, 2014
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.

3 participants