Commit Graph

447 Commits

Author SHA1 Message Date
Dhghomon
8ba4e03e1c
Merge pull request #36 from Arcadie/fix-vecdeque-move
Fixes in VecDeque, Generics and Arc sections
2020-07-28 23:47:38 +09:00
Arcadie
192047be94 Delete whitespace, tweak phrasing 2020-07-28 17:10:15 +03:00
Arcadie
9e9bf0a265 Arc: when spanwing threads in a loop, call join on handlers at the end 2020-07-28 17:01:43 +03:00
Arcadie
27def910d6 Mutex: fix output for code samples 2020-07-28 17:01:43 +03:00
Arcadie
a1f511f80f Generics - fix print with, specify variables of type U 2020-07-28 17:01:43 +03:00
Arcadie
c56888fcf5 VecDeque - say items are moved instead of copied on remove() 2020-07-28 17:01:43 +03:00
Dhghomon
0dc4a75139
chars, len(), chars().count() 2020-07-28 20:20:40 +09:00
Dhghomon
637c7daf4b
Merge pull request #35 from Arcadie/master
Fix small typos in filter_map, get rid of into_iter() for range
2020-07-28 18:48:21 +09:00
Arcadie
e773c679bd Impl Trait - make snippets compile by fixing ignore message 2020-07-28 12:25:41 +03:00
Arcadie
b710e5cc67 Merge branch 'master' of github.com:Arcadie/easy_rust 2020-07-28 12:12:46 +03:00
Arcadie
3263dce437 Fix small typo in filter_map() example, get rid of into_iter() for range.
Range already implements Iterator trait, so no need for the into_iter().
2020-07-28 12:12:13 +03:00
Dhghomon
fafdb36cec
Rewrite a bit 2020-07-28 16:29:55 +09:00
Dhghomon
613a9755f0
impl Trait 2020-07-28 15:26:25 +09:00
Dhghomon
36a056df85
Closures in functions 2020-07-28 08:57:33 +09:00
Dhghomon
8fb5b1e131
Explanation of what a snippet is 2020-07-28 07:31:44 +09:00
Dhghomon
2b26205271
Merge pull request #34 from AlexanderWillner/master
Enhanced create book script and added it to the make file
2020-07-28 07:27:16 +09:00
Alexander Willner
717e792076 new ignore string 2020-07-27 20:47:58 +02:00
Alexander Willner
8c0d7a3b79 getting all code snippets to compile or to be skipped 2020-07-27 20:40:50 +02:00
Arcadie
acd5a7ca1b Fix small typo in filter_map() example, get rid of into_iter() for range.
Range already implements Iterator trait, so no need for the into_iter().
2020-07-27 19:49:55 +03:00
Alexander Willner
27f0d7ad45 getting the first 50 code snippets to compile or to be skipped 2020-07-27 17:46:51 +02:00
Alexander Willner
6f0ed2ae75 Started to get snippets compile / mark them as uncompilable... 2020-07-27 16:22:45 +02:00
Alexander Willner
995a2da33c making snippets is phony 2020-07-27 16:21:07 +02:00
Alexander Willner
f19b0b7823 enhance create book script and added it to the make file 2020-07-27 16:16:02 +02:00
Alexander Willner
195482f7ce Merge branch 'master' of https://github.com/Dhghomon/easy_rust 2020-07-27 16:10:44 +02:00
Dhghomon
36c3e5d0f9
Merge pull request #33 from AlexanderWillner/master
Suggestion: make each snippet compilable
2020-07-27 22:28:12 +09:00
Alexander Willner
f9be669881 Added md2src 2020-07-27 15:24:10 +02:00
Alexander Willner
1cf4605343 Mark snippet as no compilable 2020-07-27 15:23:54 +02:00
Alexander Willner
73b261cc54 Merge branch 'master' of https://github.com/Dhghomon/easy_rust 2020-07-27 15:15:27 +02:00
Dhghomon
a39f09850a
Some other methods 2020-07-27 19:36:21 +09:00
Dhghomon
56afb860af
.cycle() 2020-07-27 19:24:01 +09:00
Dhghomon
33705b94ba
.find(), .position() 2020-07-27 16:19:27 +09:00
Dhghomon
b62700abae
.any(), .all() 2020-07-27 14:24:24 +09:00
Dhghomon
ef187d51ba
.and_then(), .and() 2020-07-27 13:20:11 +09:00
Dhghomon
e9fdd53a7e
ok_or + ok_or_else 2020-07-27 12:06:08 +09:00
Dhghomon
4ac9f67713
Fix typo 2020-07-27 11:35:24 +09:00
Dhghomon
c4cb3c1ac1
More on closures + iterators 2020-07-26 23:47:06 +09:00
Alexander Willner
adaffe147c Merge branch 'master' of https://github.com/Dhghomon/easy_rust 2020-07-26 16:46:48 +02:00
Dhghomon
21ae205eff
Merge pull request #29 from nisrulz/feature/mdBook-script
Add a bash script to split the existing Readme.md into chapters+summary files which mdBook can consume
2020-07-26 19:35:10 +09:00
Dhghomon
516556fb5f
VecDeque 2020-07-26 19:12:39 +09:00
Dhghomon
9f9c7484c7
BinaryHeap 2020-07-26 18:10:52 +09:00
Dhghomon
e7f9b6d27c
Start HashSet + BTreeSet 2020-07-26 17:21:28 +09:00
Dhghomon
83e2f5c9f8
Merge pull request #31 from sureshggg/master
Update README.md
2020-07-26 16:58:17 +09:00
Suresh G
e2ffd92ff1
Update README.md
spell changes
2020-07-26 12:29:46 +05:30
Dhghomon
17a9c09880
[] vs. .get() for HashMap 2020-07-26 13:33:19 +09:00
Dhghomon
6ccb798ce3
More on hashmaps 2020-07-26 13:06:13 +09:00
Dhghomon
bb6778538f
Merge pull request #28 from byschii/master
Typo
2020-07-26 12:08:31 +09:00
Nishant Srivastava
f532b32a31 fix script because the list formatting changed 2020-07-26 00:38:11 +02:00
Nishant Srivastava
84d1e273ec - Add a bash script to split the existing Readme.md into chapters+summary files which mdBook can consume.
- Enables generating a book version
- Fixes issue #11
2020-07-26 00:23:59 +02:00
byschii
1f59c6b710
Typo 2020-07-25 18:18:55 +02:00
Dhghomon
3851cb54b9
Typo 2020-07-26 00:58:01 +09:00