Skip to content

Commit 4a66286

Browse files
authored
Merge pull request #1388 from nix6839/fix_mdlint_warning
Fix some markdown lint warnings
2 parents 54da832 + 4d8d99b commit 4a66286

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

CODE_OF_CONDUCT.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ A version of this document [can be found online](https://www.rust-lang.org/condu
1111
* Please be kind and courteous. There's no need to be mean or rude.
1212
* Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.
1313
* Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.
14-
* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term "harassment" as including the definition in the <a href="http://citizencodeofconduct.org/">Citizen Code of Conduct</a>; if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don't tolerate behavior that excludes people in socially marginalized groups.
14+
* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term "harassment" as including the definition in the [Citizen Code of Conduct](http://citizencodeofconduct.org/); if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don't tolerate behavior that excludes people in socially marginalized groups.
1515
* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the [Rust moderation team][mod_team] immediately. Whether you're a regular contributor or a newcomer, we care about making this community a safe place for you and we've got your back.
1616
* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.
1717

1818
## Moderation
1919

20-
2120
These are the policies for upholding our community's standards of conduct. If you feel that a thread needs moderation, please contact the [Rust moderation team][mod_team].
2221

2322
1. Remarks that violate the Rust standards of conduct, including hateful, hurtful, oppressive, or exclusionary remarks, are not allowed. (Cursing is allowed, but never targeting another user, and never in a hateful manner.)

CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ If you make additions or other changes to a pull request, feel free to either am
2727
previous commits or only add new ones, however you prefer. We may ask you to squash
2828
your commits before merging, depending.
2929

30-
3130
## Issue Tracker
3231

3332
You can find the issue tracker [on

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Learn Rust with examples (Live code editor included)
99

1010
## Using
1111

12-
If you'd like to read Rust by Example, you can visit https://doc.rust-lang.org/rust-by-example/
12+
If you'd like to read Rust by Example, you can visit <https://doc.rust-lang.org/rust-by-example/>
1313
to read it online.
1414

1515
If you'd like to read it locally, [install Rust], and then:
@@ -44,10 +44,10 @@ Please see the [CONTRIBUTING.md] file for more details.
4444

4545
Rust by Example is licensed under either of
4646

47-
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
48-
http://www.apache.org/licenses/LICENSE-2.0)
49-
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
50-
http://opensource.org/licenses/MIT)
47+
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
48+
<http://www.apache.org/licenses/LICENSE-2.0>)
49+
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
50+
<http://opensource.org/licenses/MIT>)
5151

5252
at your option.
5353

src/custom_types/structs.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ fn main() {
8888

8989
1. Add a function `rect_area` which calculates the area of a rectangle (try
9090
using nested destructuring).
91-
2. Add a function `square` which takes a `Point` and a `f32` as arguments, and returns a `Rectangle` with its lower left corner on the point, and a width and height corresponding to the `f32`.
91+
2. Add a function `square` which takes a `Point` and a `f32` as arguments, and
92+
returns a `Rectangle` with its lower left corner on the point, and a width and
93+
height corresponding to the `f32`.
9294

93-
### See also:
95+
### See also
9496

9597
[`attributes`][attributes], and [destructuring][destructuring]
9698

0 commit comments

Comments
 (0)