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

std: Remove i18n/l10n from format! #14831

Merged
merged 1 commit into from
Jun 13, 2014
Merged

Conversation

alexcrichton
Copy link
Member

  • The select/plural methods from format strings are removed
  • The # character no longer needs to be escaped
  • The -based escapes have been removed
  • '{{' is now an escape for '{'
  • '}}' is now an escape for '}'

Closes #14810
[breaking-change]

* The select/plural methods from format strings are removed
* The # character no longer needs to be escaped
* The \-based escapes have been removed
* '{{' is now an escape for '{'
* '}}' is now an escape for '}'

Closes rust-lang#14810
[breaking-change]
bors added a commit that referenced this pull request Jun 13, 2014
* The select/plural methods from format strings are removed
* The # character no longer needs to be escaped
* The \-based escapes have been removed
* '{{' is now an escape for '{'
* '}}' is now an escape for '}'

Closes #14810
[breaking-change]
@bors bors closed this Jun 13, 2014
@bors bors merged commit cac7a20 into rust-lang:master Jun 13, 2014
@alexcrichton alexcrichton deleted the format-intl branch June 13, 2014 16:52
@@ -416,7 +416,7 @@ pub fn write_boxplot<T: Float + Show + FromPrimitive>(
v = v + char_step;
c += 1;
}
try!(write!(w, r"\#"));
try!(write!(w, "#"));
Copy link
Member

Choose a reason for hiding this comment

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

It might have been nice to write these changes in a manner compatible with both the stage0 and stageN compilers. (E.g. try!(write!(w, "{}", "#"));); since we did not do that, make check-stage1 is currently broken (and presumably will remain so until the next snapshot...)

@pnkfelix pnkfelix mentioned this pull request Jun 15, 2014
farcaller added a commit to farcaller/zinc that referenced this pull request Jun 15, 2014
xen0n added a commit to xen0n/rust that referenced this pull request May 16, 2016
`nest_level` is long dead since cac7a20
(PR rust-lang#14831), so is `check_positional_ok()`. Let's bid them farewell.
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.

Remove fmt! i18n (RFC 26)
4 participants