-
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
TODO Examples #1
Comments
By rustdoc do you just mean how the documentation is formatted within the rust stdlib source files? |
@jacob-hegna I have in mind something like:
|
Some inspiration for the topic on crates: https://mail.mozilla.org/pipermail/rust-dev/2014-May/009767.html I've never thought about the compilation unit <=> C/C++ object file analogy before. |
I'll cover Arc and Mutex. |
I'm working on a chapter on |
Please add Phantom types to the list. See #145 for more info. |
How's your progress on collections::HashMap? I've been toying with it and I think I worked through a few frustrating nuances with it and lifetimes. |
@cybergeek94 That chapter is not taken at the moment, if you want to work on it, please open an issue mentioning that you'll work on it. And, if you can, leave a list of the topics you plan to cover (check issues tagged with the |
I think I want to do The I can cover I also want to express my interest in the |
A few of these crates dont necessarily exist in the Rust repo anymore. Also I do not know if we should do |
I agree with @sinistersnare, we should definitely remove url. |
The official plugins guide has examples for procedural macros as well as lint plugins. |
I'm not going to track these kinds of things on the tracker. More examples are always welcome. |
These are some topics that need examples, but not I'm too familiar with. It would be great if someone more familiar with these topics could send a PR adding examples for these topics.
Any
Arc
Arc chapter #104Ascii
Cell
Gc
Mutex
Mutex chapter #105Once
Rc
RefCell
Unsafe<T>
bitflags
green
#[start]
andrustuv::event_loop
vsbasic::event_loop
local_data
log
cratenet::tcp
rustdoc
Topics for the "rustdoc" chapter #108These are topics that I can cover, and some already appear in the book as unavailable. But I won't get angry if someone wants to give me a hand :-).
!
Add examples of diverging functions #146Barrier
The "task" chapter is a stub #113Buffered{Reader,Writer}
assert!
,debug_assert!
, etc.macros_rules
Split current "macro_rules" chapter ", cover more topics #110os::args
+getopts
Topics for the "args" chapter #106rand
Split current "rand" chapter, cover more topics #116regex
crateselect!
serialize::json
Topics for the JSON chapter #86std::hash
+collections::hashmap
std::hash + collections::hashmap #161std::io::stdio
term
crateunsafe
blocks Split current "unsafe" chapter, cover more topics #112url
crate//
,/* */
,/* /* */ */
,///
, etc. Topics for the "comment" chapter #107Send
,Share
,Copy
andSized
*T
Split current "unsafe" chapter, cover more topics #112Drop
Process
Result
andtry!
std::io::fs
#[test]
,#[crate_id]
, etcAdd
,Sub
, etc.The text was updated successfully, but these errors were encountered: