-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Better print #496
Better print #496
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
cc @crumblingstatue You may be interested in this. |
Wow, this is awesome. 👍 |
|
||
// Error! You are missing an argument. | ||
println!("My name is {0:?}, {1:?} {0:?}", "Bond"); | ||
// FIXME ^ Add the missing argument: "James" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you should remove the FIXME here. It's helpful to tell the user exactly what he needs to do to fix this problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I botched the build somewhere and I think I deleted this while tracking down the error. Forgot to add it back.
Pushed updates. Was working on this offline so I'm not sure how it gels with the previous comments. I'll have to compare again later. I tried adding |
Cool, when would you like me to review this? |
I wanna sleep on it and look at it again tomorrow. I'll try to ping you tomorrow or the next day for review. I think it'll be ready then. I don't think there will be many big changes though. I'll update title from WIP too (gotta remember to do it...) |
Something came up. Haven't gotten to it yet. I'll try to get to it in a day or so. |
@steveklabnik r? @crumblingstatue I think I moved that specific As before, comments welcome. |
Oh, I didnt see this till now... |
You want me to fix it? I'm kinda curious what it'll do... |
It looks like everything is fine, right? |
I think so. Since the first 3 patches already merged, it should just ignore them and add only the last. That's speculation though. If you don't want to risk it, I can rebase again so there's only a single patch. Also, rather than closing #495 if you merge, can you check all but the last box. Or leave it to me. I'll do it. |
@steveklabnik I went ahead and rebased to tip because it makes the PR cleaner though the commit/merge history shouldn't be different either way. |
Okay! Let's land this. Thanks. |
Cool |
Aims at fixing #495 by adding more detail about printing. Don't merge.
I gotta go do other things now but this is what I've got so far. May not get back to it for a few days.
First commit was a driveby fix.