Dhghomon
6e23b8c08d
+ rayon
4 years ago
Dhghomon
72c9e08cf7
Add note
4 years ago
Dhghomon
f48a6cc5b1
Start external crates
4 years ago
Dhghomon
dd063356d0
Merge pull request #56 from kemra102/master
...
Fix typo
4 years ago
Dhghomon
c14761f3fc
Merge pull request #55 from szTheory/patch-2
...
Fix in-line code sample backtick formatting
4 years ago
Dhghomon
66a5ef6166
Merge pull request #54 from szTheory/patch-1
...
Fix typo
4 years ago
Danny
f4261209d2
Fix typo
...
Fix typo in destructuring section, moving a stray backtick to the correct location.
4 years ago
szTheory
a7c1f86b45
Fix in-line code sample backtick formatting
4 years ago
szTheory
7943c4da48
Fix typo
4 years ago
Dhghomon
9740193c03
Merge pull request #52 from Arcadie/master
...
Typo fixes: attributes, derive, deref and testing.
4 years ago
Arcadie
95ed85511f
Typo fixes: attributes, derive, deref and testing.
...
attributes - remove list tag from first example, not used for the others;
derive - String does not implement Copy;
deref - small typo, remove extra dot from .main();
testing - use two backticks to escape backticks used in code block, explicitly use assert!(left, right) for the description, add missing quote in last example;
4 years ago
Dhghomon
1891f1311e
More on testing, etc.
4 years ago
Dhghomon
a8db542d38
Merge pull request #51 from ssuperczynski/patch-1
...
Incorrect formatting of `print_one_thing` method
4 years ago
Sebastian
c74e1adeee
Incorrect formatting of `print_one_thing` method
...
This caused the whole sentence to be highlighted instead the function name.
4 years ago
Dhghomon
4616e62a07
Merge pull request #49 from chapeupreto/patch-2
...
fix typo
4 years ago
Dhghomon
92f235e949
Merge pull request #48 from chapeupreto/patch-1
...
fix output for "Printing 'hello, world!'" example
4 years ago
Rod Elias
8046f872ae
fix typo
4 years ago
Rod Elias
e058c79219
fix output for "Printing 'hello, world!'" example
4 years ago
Dhghomon
fa41a486c7
Start testing
4 years ago
Dhghomon
48c9fbd7a0
Clarify after pickfire's PR re: reach
4 years ago
Dhghomon
8f7bfceaa3
Comment on Box
4 years ago
Dhghomon
f147aef4f7
Update status
4 years ago
Dhghomon
87f0f76333
super
4 years ago
Dhghomon
0fd4fdde56
Start crates and modules
4 years ago
Dhghomon
961e71f081
Deref and DerefMut
4 years ago
Dhghomon
984002eec4
+ fold
4 years ago
Dhghomon
56556d1531
Bit more on .expect()
4 years ago
Dhghomon
a4d7fb6367
br print result
4 years ago
Dhghomon
f1614b868f
add br
4 years ago
Dhghomon
9c18d8361f
TOC
4 years ago
Dhghomon
c0cf28ba3b
Box around traits
4 years ago
Dhghomon
b86d019b42
Merge pull request #46 from humancalico/patch-1
...
fix small typo
4 years ago
Akshat Agarwal
4f438f8d7c
fix small typo
4 years ago
Dhghomon
5ac4d3a2c0
Attributes section
4 years ago
Dhghomon
744d910a47
Rewrite snippet part, bit on attributes
4 years ago
Dhghomon
898784fc32
Some more closure explanation
4 years ago
Dhghomon
e09e309f06
Merge pull request #42 from elfsternberg/L7104-type-correction
...
This block describes the typing incorrectly.
4 years ago
Dhghomon
38ac7cceef
Merge pull request #41 from patahene/patch-1
...
Fix an example output
4 years ago
Dhghomon
c01835408a
Merge pull request #40 from Zyfarok/master
...
Fix shadowing example
4 years ago
Dhghomon
5275f9793a
Merge pull request #39 from Arcadie/feat-snippets-improvements
...
Use different emojis to ignore snippets that won't compile / code fragments.
4 years ago
Elf M. Sternberg
e654c7d8e5
This block is confused.
...
Consider the following demonstration (this code compiles under Rust 2018
as a drop in for the contents of main.rs after `cargo new mapdemo --bin;
cargo run`):
```
fn main() {
let x = [1, 2, 3, 4, 5];
let z = x.iter().map(|&x| format!("{}", x)).collect::<Vec<String>>();
println!("{:?}", z);
}
```
The `self` argument to map will be an `Iter<u64>`. The `Self::Item`
type is therefore `u64`. The return type of the function being passed
to map is `String`. This is what the `B` type variable indicates: the
return type of the function, as can be clearly seen in the second line
of the `where` clause in your example:
```
F: FnMut(Self::Item) -> B
```
4 years ago
patahene
f592f662e4
Update README.md
4 years ago
Zyf
3b8d5057d6
Fix shadowing example
4 years ago
Arcadie
fbe3651fc4
Include comments in ignore string as well
4 years ago
Arcadie
583281f2d5
Use emojis to ignore snippets that won't compile / code fragments.
...
I did a search and replace for:
// (note: this will not compile) incomplete code snippet -> // ⚠️
// (note: this will not compile) -> // 🚧
Note: Requires md2src version 1.1.0 or later!
4 years ago
Dhghomon
cddf839e32
Default + builder pattern
4 years ago
Dhghomon
ba977ad4d9
Merge pull request #37 from AlexanderWillner/master
...
give a hint on how to install required binaries for the book
4 years ago
Alexander Willner
a6d30d3c99
open the book automatically
4 years ago
Alexander Willner
752141bb2a
make 'make book' phony
4 years ago
Alexander Willner
056ecf91a0
ignore book folder
4 years ago