|
1 | 1 | <!DOCTYPE HTML>
|
2 |
| -<html lang="en" class="sidebar-visible no-js rust"> |
| 2 | +<html lang="en" class="sidebar-visible no-js light"> |
3 | 3 | <head>
|
4 | 4 | <!-- Book generated using mdBook -->
|
5 | 5 | <meta charset="UTF-8">
|
|
52 | 52 | <!-- Provide site root to javascript -->
|
53 | 53 | <script type="text/javascript">
|
54 | 54 | var path_to_root = "";
|
55 |
| - var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "rust"; |
| 55 | + var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "light"; |
56 | 56 | </script>
|
57 | 57 |
|
58 | 58 | <!-- Work around some values being stored in localStorage wrapped in quotes -->
|
|
78 | 78 | if (theme === null || theme === undefined) { theme = default_theme; }
|
79 | 79 | var html = document.querySelector('html');
|
80 | 80 | html.classList.remove('no-js')
|
81 |
| - html.classList.remove('rust') |
| 81 | + html.classList.remove('light') |
82 | 82 | html.classList.add(theme);
|
83 | 83 | html.classList.add('js');
|
84 | 84 | </script>
|
|
97 | 97 |
|
98 | 98 | <nav id="sidebar" class="sidebar" aria-label="Table of contents">
|
99 | 99 | <div class="sidebar-scrollbox">
|
100 |
| - <ol class="chapter"><li class="chapter-item expanded affix "><a href="about-this-guide.html">About this guide</a></li><li class="chapter-item expanded affix "><a href="getting-started.html">Getting started</a></li><li class="chapter-item expanded affix "><a href="reviewer-checklist.html">Reviewer checklist</a></li><li class="spacer"></li><li class="chapter-item expanded "><a href="feature-lifecycle/summary.html"><strong aria-hidden="true">1.</strong> The feature lifecycle</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="feature-lifecycle/new-unstable-features.html"><strong aria-hidden="true">1.1.</strong> Landing new features</a></li><li class="chapter-item expanded "><a href="feature-lifecycle/tracking-issues.html"><strong aria-hidden="true">1.2.</strong> Using tracking issues</a></li><li class="chapter-item expanded "><a href="feature-lifecycle/stabilization.html"><strong aria-hidden="true">1.3.</strong> Stabilizing features</a></li><li class="chapter-item expanded "><a href="feature-lifecycle/deprecation.html"><strong aria-hidden="true">1.4.</strong> Deprecating features</a></li><li class="spacer"></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/summary.html"><strong aria-hidden="true">2.</strong> Code considerations</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/design/summary.html"><strong aria-hidden="true">2.1.</strong> Design</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/design/public-apis.html"><strong aria-hidden="true">2.1.1.</strong> Public APIs</a></li><li class="chapter-item expanded "><a href="code-considerations/design/must-use.html"><strong aria-hidden="true">2.1.2.</strong> When to add #[must_use]</a></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/summary.html"><strong aria-hidden="true">2.2.</strong> Breaking changes</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/behavior.html"><strong aria-hidden="true">2.2.1.</strong> Breakage from changing behavior</a></li><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/new-trait-impls.html"><strong aria-hidden="true">2.2.2.</strong> Breakage from new trait impls</a></li><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/fundamental.html"><strong aria-hidden="true">2.2.3.</strong> #[fundamental] types</a></li><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/prelude.html"><strong aria-hidden="true">2.2.4.</strong> Breakage from changing the prelude</a></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/safety-and-soundness/summary.html"><strong aria-hidden="true">2.3.</strong> Safety and soundness</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/safety-and-soundness/generics-and-unsafe.html"><strong aria-hidden="true">2.3.1.</strong> Generics and unsafe</a></li><li class="chapter-item expanded "><a href="code-considerations/safety-and-soundness/may-dangle.html"><strong aria-hidden="true">2.3.2.</strong> Drop and #[may_dangle]</a></li><li class="chapter-item expanded "><a href="code-considerations/safety-and-soundness/mem-and-exclusive-refs.html"><strong aria-hidden="true">2.3.3.</strong> std::mem and exclusive references</a></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/using-unstable-lang/summary.html"><strong aria-hidden="true">2.4.</strong> Using unstable language features</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/using-unstable-lang/const-generics.html"><strong aria-hidden="true">2.4.1.</strong> Const generics</a></li><li class="chapter-item expanded "><a href="code-considerations/using-unstable-lang/specialization.html"><strong aria-hidden="true">2.4.2.</strong> Specialization</a></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/performance/summary.html"><strong aria-hidden="true">2.5.</strong> Performance</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/performance/inline.html"><strong aria-hidden="true">2.5.1.</strong> When to #[inline]</a></li><li class="spacer"></li></ol></li></ol></li><li class="chapter-item expanded "><a href="documentation/summary.html"><strong aria-hidden="true">3.</strong> Documentation</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="documentation/doc-alias-policy.html"><strong aria-hidden="true">3.1.</strong> doc alias policy</a></li><li class="spacer"></li></ol></li><li class="chapter-item expanded "><a href="tools-and-bots/summary.html"><strong aria-hidden="true">4.</strong> Tools and bots</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="tools-and-bots/bors.html"><strong aria-hidden="true">4.1.</strong> @bors</a></li><li class="chapter-item expanded "><a href="tools-and-bots/timer.html"><strong aria-hidden="true">4.2.</strong> @rust-timer</a></li><li class="chapter-item expanded "><a href="tools-and-bots/crater.html"><strong aria-hidden="true">4.3.</strong> @craterbot</a></li></ol></li></ol> |
| 100 | + <ol class="chapter"><li class="chapter-item expanded affix "><a href="about-this-guide.html">About this guide</a></li><li class="chapter-item expanded affix "><a href="getting-started.html">Getting started</a></li><li class="chapter-item expanded "><a href="team.html"><strong aria-hidden="true">1.</strong> The library team</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="meetings.html"><strong aria-hidden="true">1.1.</strong> Meetings</a></li><li class="chapter-item expanded "><a href="membership.html"><strong aria-hidden="true">1.2.</strong> Membership</a></li><li class="chapter-item expanded "><a href="reviewing.html"><strong aria-hidden="true">1.3.</strong> Reviewing</a></li><li class="spacer"></li></ol></li><li class="chapter-item expanded "><a href="feature-lifecycle/summary.html"><strong aria-hidden="true">2.</strong> The feature lifecycle</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="feature-lifecycle/new-unstable-features.html"><strong aria-hidden="true">2.1.</strong> Landing new features</a></li><li class="chapter-item expanded "><a href="feature-lifecycle/tracking-issues.html"><strong aria-hidden="true">2.2.</strong> Using tracking issues</a></li><li class="chapter-item expanded "><a href="feature-lifecycle/stabilization.html"><strong aria-hidden="true">2.3.</strong> Stabilizing features</a></li><li class="chapter-item expanded "><a href="feature-lifecycle/deprecation.html"><strong aria-hidden="true">2.4.</strong> Deprecating features</a></li><li class="spacer"></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/summary.html"><strong aria-hidden="true">3.</strong> Code considerations</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/design/summary.html"><strong aria-hidden="true">3.1.</strong> Design</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/design/public-apis.html"><strong aria-hidden="true">3.1.1.</strong> Public APIs</a></li><li class="chapter-item expanded "><a href="code-considerations/design/must-use.html"><strong aria-hidden="true">3.1.2.</strong> When to add #[must_use]</a></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/summary.html"><strong aria-hidden="true">3.2.</strong> Breaking changes</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/behavior.html"><strong aria-hidden="true">3.2.1.</strong> Breakage from changing behavior</a></li><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/new-trait-impls.html"><strong aria-hidden="true">3.2.2.</strong> Breakage from new trait impls</a></li><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/fundamental.html"><strong aria-hidden="true">3.2.3.</strong> #[fundamental] types</a></li><li class="chapter-item expanded "><a href="code-considerations/breaking-changes/prelude.html"><strong aria-hidden="true">3.2.4.</strong> Breakage from changing the prelude</a></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/safety-and-soundness/summary.html"><strong aria-hidden="true">3.3.</strong> Safety and soundness</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/safety-and-soundness/generics-and-unsafe.html"><strong aria-hidden="true">3.3.1.</strong> Generics and unsafe</a></li><li class="chapter-item expanded "><a href="code-considerations/safety-and-soundness/may-dangle.html"><strong aria-hidden="true">3.3.2.</strong> Drop and #[may_dangle]</a></li><li class="chapter-item expanded "><a href="code-considerations/safety-and-soundness/mem-and-exclusive-refs.html"><strong aria-hidden="true">3.3.3.</strong> std::mem and exclusive references</a></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/using-unstable-lang/summary.html"><strong aria-hidden="true">3.4.</strong> Using unstable language features</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/using-unstable-lang/const-generics.html"><strong aria-hidden="true">3.4.1.</strong> Const generics</a></li><li class="chapter-item expanded "><a href="code-considerations/using-unstable-lang/specialization.html"><strong aria-hidden="true">3.4.2.</strong> Specialization</a></li></ol></li><li class="chapter-item expanded "><a href="code-considerations/performance/summary.html"><strong aria-hidden="true">3.5.</strong> Performance</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="code-considerations/performance/inline.html"><strong aria-hidden="true">3.5.1.</strong> When to #[inline]</a></li><li class="spacer"></li></ol></li></ol></li><li class="chapter-item expanded "><a href="documentation/summary.html"><strong aria-hidden="true">4.</strong> Documentation</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="documentation/doc-alias-policy.html"><strong aria-hidden="true">4.1.</strong> doc alias policy</a></li><li class="spacer"></li></ol></li><li class="chapter-item expanded "><a href="tools-and-bots/summary.html"><strong aria-hidden="true">5.</strong> Tools and bots</a></li><li><ol class="section"><li class="chapter-item expanded "><a href="tools-and-bots/bors.html"><strong aria-hidden="true">5.1.</strong> @bors</a></li><li class="chapter-item expanded "><a href="tools-and-bots/timer.html"><strong aria-hidden="true">5.2.</strong> @rust-timer</a></li><li class="chapter-item expanded "><a href="tools-and-bots/crater.html"><strong aria-hidden="true">5.3.</strong> @craterbot</a></li></ol></li></ol> |
101 | 101 | </div>
|
102 | 102 | <div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
|
103 | 103 | </nav>
|
|
116 | 116 | <i class="fa fa-paint-brush"></i>
|
117 | 117 | </button>
|
118 | 118 | <ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
|
119 |
| - <li role="none"><button role="menuitem" class="theme" id="light">Light</button></li> |
120 |
| - <li role="none"><button role="menuitem" class="theme" id="rust">Rust (default)</button></li> |
| 119 | + <li role="none"><button role="menuitem" class="theme" id="light">Light (default)</button></li> |
| 120 | + <li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li> |
121 | 121 | <li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
|
122 | 122 | <li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
|
123 | 123 | <li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
|
|
0 commit comments