about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-14 16:28:57 +0000
committerbors <bors@rust-lang.org>2022-10-14 16:28:57 +0000
commitefa361bf56d010ea1ec6bf3e83e2923d96ebcade (patch)
treeb71f70b1566414a33bf62133cbebd86e12d16f3b
parent8e0da624092cfa539c7585d84981d1cd8bf7bf42 (diff)
parent135a2730eb1750cff33e79a2e22e5730a2e0a60c (diff)
downloadrust-efa361bf56d010ea1ec6bf3e83e2923d96ebcade.tar.gz
rust-efa361bf56d010ea1ec6bf3e83e2923d96ebcade.zip
Auto merge of #9643 - icecream17:patch-1, r=flip1995
Book: Small grammar + link a11y change

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: none

---

Very minor

For the link accessibility change, `here` and related don't provide context for screen readers who are reading a list of links.
(Random supporting google links)
https://www.w3.org/QA/Tips/noClickHere
https://usability.yale.edu/web-accessibility/articles/links
-rw-r--r--book/src/development/basics.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/book/src/development/basics.md b/book/src/development/basics.md
index 44ba6e32755..6fb53236e6f 100644
--- a/book/src/development/basics.md
+++ b/book/src/development/basics.md
@@ -69,7 +69,7 @@ the reference file with:
 cargo dev bless
 ```
 
-For example, this is necessary, if you fix a typo in an error message of a lint
+For example, this is necessary if you fix a typo in an error message of a lint,
 or if you modify a test file to add a test case.
 
 > _Note:_ This command may update more files than you intended. In that case
@@ -101,8 +101,9 @@ cargo dev setup intellij
 cargo dev dogfood
 ```
 
-More about intellij command usage and reasons
-[here](https://github.com/rust-lang/rust-clippy/blob/master/CONTRIBUTING.md#intellij-rust)
+More about [intellij] command usage and reasons.
+
+[intellij]: https://github.com/rust-lang/rust-clippy/blob/master/CONTRIBUTING.md#intellij-rust
 
 ## lintcheck