-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(mixed): fixed a couple of typos and added a todo #2865
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
Conversation
|
Thanks! bors r+ |
Build succeeded
|
| write!(rustfmt.stdin.take().unwrap(), "{}", text)?; | ||
| let output = rustfmt.wait_with_output()?; | ||
| let stdout = String::from_utf8(output.stdout)?; | ||
| // TODO: update the preable: replace ra_tools with the relevant path |
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.
We have a no todo check, but seem like it does not parse xtask itself? 😃
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.
Seems like it.
@Veetaha We tend to use // FIXME for things like this, just for future use.
|
So that one can use `TODO` to make sure some *is* fixed before getting
merged. Ie, it is a feature that, if you have `TODO` comment, the CI will
fail, so you can actively use this to leave reminders for yourself when
working with big changes.
It can be argued that polarity is flipped, and that `FIXME` is the one that
should fail the CI, but here we just follow rust-lang/rust precedent.
…On Fri, 17 Jan 2020 at 10:13, Veetaha ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In xtask/src/lib.rs
<#2865 (comment)>
:
> @@ -53,6 +53,7 @@ fn reformat(text: impl std::fmt::Display) -> Result<String> {
write!(rustfmt.stdin.take().unwrap(), "{}", text)?;
let output = rustfmt.wait_with_output()?;
let stdout = String::from_utf8(output.stdout)?;
+ // TODO: update the preable: replace ra_tools with the relevant path
@edwin0cheng <https://github.com/edwin0cheng> @kiljacken
<https://github.com/kiljacken> but why no to-dos? I can even see them all
over the codebase
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#2865>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANB3M44NDMB6MYPVW3O2NTQ6FZDHANCNFSM4KH5DC6A>
.
|
Fixed a couple of typos and added a todo while studying the codebase.