-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Documentation : Tutorial improvement. #12472
Conversation
@pnkfelix : I began to work on the modifications to the tutorial we talked about yesterday at Mozspace. |
@@ -134,6 +134,9 @@ fn main() { | |||
} | |||
~~~~ | |||
|
|||
> ***Note:*** `Macro` or `syntax extensions` are explained in section : |
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.
Why backticks? This isn't code. Also, Macro
→ Macros
.
Side note: in English there is no space before a colon.
I would probably phrase it like this:
> ***Note:*** *Macros* are explained in the [Syntax extensions (3.4)](#syntax-extensions) section.
@darnuria How was the meeting? Too bad I couldn't be there. |
@adrientetar : This was not the meetup we just meet at the Mozilla space for the monthly party. And now we have a reps page for the meetup : https://reps.mozilla.org/e/meetup-rust-paris-2014/ ;) |
@pnkfelix , @adrientetar , @huonw : review newest modification? :) |
assert!(!xs.ne(&ys)); | ||
|
||
// The Eq trait also provides us with shorthand infix operators. |
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.
"The Eq trait also allows us to use the shorthand infix operators"
(BTW, I'd just like to remind you of this comment, so you don't spend too much effort on the tutorial right now. :) ) |
I know but actually this one is read by a lot of peoples. So making minor fixes is right no? :S |
Yes, that's good; I'm just pointing out more extensive work may be a waste of time (i.e. larger changes may be deleted later, or modified beyond recognition). |
I know. We talked about it with Felix Friday evening. (For rebase every time I have the same question) # This is a good practice? I am not sure.
git rebase -i HEAD^^^ # For this example
# Selecting my commits etc..
git push origin branch_name # And here I dont know if I must add -f... how do you do it? |
@darnuria Remind me to show you my git work-flow at the meetup tomorrow night. |
Refactoring examples on implementation of generics for linked list. Fixing typo of 'Note's for coherancy. Adding internal links inside the tutorial example with traits, generics etc...
I like to known too.
|
@darnuria ... and I forgot to talk to you about this last night. :) Well, I did not really have too much to say, beyond this: My strategy with git tends to be, use As for your other question, you should usually not need to use the |
@adrientetar I'm not sure what page you are looking at. I don't want to further derail this ticket, so you should probably send @darnuria and/or myself an e-mail. |
@pnkfelix Thanks for the tips thats already what I do. But I am happy to find confirmation I am used to avoid And for this Pull request? r? |
@darnuria FYI the only "requirement" is the revision to the Note below |
Closes #12546 (Add new target 'make dist-osx' to create a .pkg installer for OS X) r=brson Closes #12575 (rustc: Move local native libs back in link-args) r=brson Closes #12587 (Provide a more helpful error for tests that fail due to noexec) r=brson Closes #12589 (rustc: Remove codemap and reachable from metadata encoder) r=alexcrichton Closes #12591 (Fix syntax::ext::deriving{,::*} docs formatting.) r=huonw Closes #12592 (Miscellaneous Vim improvements) r=alexcrichton Closes #12596 (path: Implement windows::make_non_verbatim()) r=alexcrichton Closes #12598 (Improve the ctags function regular expression) r=alexcrichton Closes #12599 (Tutorial improvement (new variant of PR #12472).) r=pnkfelix Closes #12603 (std: Export the select! macro) r=pcwalton Closes #12605 (Fix typo in doc of Binary trait in std::fmt) r=alexcrichton Closes #12613 (Fix bytepos_to_file_charpos) r=brson
(for History purpose) |
internal: Keep output channels across restarts cc rust-lang/rust-analyzer#12470
Don't emit `doc_markdown` lint for missing backticks if it's inside a quote Fixes rust-lang#10262. changelog: Don't emit `doc_markdown` lint for missing backticks if it's inside a quote
Refactoring examples on implementation of generics for linked list.
Fixing typo of 'Note's for coherency.
Adding internal links inside the tutorial example with traits,
generics etc...
I am not really confident with "directly calls the impl of Eq for list." the
idea is to explain that you can compare with self.eq method and '==' operator
thanks to Eq impl.
Adding a note in 2.1 section.
(update after git rebase)