about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authoruellenberg <JonahUellenberg@hotmail.com>2024-11-04 14:22:23 -0800
committeruellenberg <JonahUellenberg@hotmail.com>2024-11-05 16:11:47 -0800
commit934be9b63bd5d4801807125664aad702abf79070 (patch)
tree7a73d8ab136750e9b5d03cf412d278cca683f176 /library/std/src
parent82c24eccadc216cac4365ce83ac6a36ef72ff1a3 (diff)
downloadrust-934be9b63bd5d4801807125664aad702abf79070.tar.gz
rust-934be9b63bd5d4801807125664aad702abf79070.zip
Change some code blocks to quotes in rendered std doc
Fixes #132564
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lib.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index b5450d0a20c..5b94f036248 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -32,14 +32,12 @@
 //!
 //! Once you are familiar with the contents of the standard library you may
 //! begin to find the verbosity of the prose distracting. At this stage in your
-//! development you may want to press the <code>
-//! <svg style="width:0.75rem;height:0.75rem" viewBox="0 0 12 12"
-//! stroke="currentColor" fill="none">
-//! <path d="M2,2l4,4l4,-4M2,6l4,4l4,-4"/></svg> Summary</code> button near the
-//! top of the page to collapse it into a more skimmable view.
+//! development you may want to press the
+//! "<svg style="width:0.75rem;height:0.75rem" viewBox="0 0 12 12" stroke="currentColor" fill="none"><path d="M2,2l4,4l4,-4M2,6l4,4l4,-4"/></svg>&nbsp;Summary"
+//! button near the top of the page to collapse it into a more skimmable view.
 //!
 //! While you are looking at the top of the page, also notice the
-//! <code>source</code> link. Rust's API documentation comes with the source
+//! "Source" link. Rust's API documentation comes with the source
 //! code and you are encouraged to read it. The standard library source is
 //! generally high quality and a peek behind the curtains is
 //! often enlightening.