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

fmt::FormatError has been renamed to fmt::Error #51

Merged
merged 1 commit into from Nov 20, 2014

Conversation

@canndrew
Copy link
Contributor

canndrew commented Nov 20, 2014

Get it building again.

@@ -12,7 +12,7 @@
//!
//! You can use `<formatter>.to_string()`, as the formatters implement `Show`.

use std::fmt::{Show, Formatter, FormatError};
use std::fmt::{mod, Show, Formatter};

This comment has been minimized.

@SimonSapin

SimonSapin Nov 20, 2014

Member

What does mod mean here? Is it a new language feature? Is it equivalent to use std::fmt; use std::fmt::{Show, Formatter}; ?

@canndrew
Copy link
Contributor Author

canndrew commented Nov 20, 2014

Is it equivalent to use std::fmt; use std::fmt::{Show, Formatter}; ?

Yes.

@SimonSapin
Copy link
Member

SimonSapin commented Nov 20, 2014

Looks good, thanks!

SimonSapin added a commit that referenced this pull request Nov 20, 2014
fmt::FormatError has been renamed to fmt::Error
@SimonSapin SimonSapin merged commit 5d15bee into servo:master Nov 20, 2014
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.