165 lines
9.5 KiB
HTML
165 lines
9.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" id="oranda" class="dark">
|
|
<head>
|
|
<title>rustlings</title>
|
|
|
|
<meta property="og:url" content="https://rustlings.cool" />
|
|
|
|
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<meta name="description" content="Small exercises to get you used to reading and writing Rust code!" />
|
|
<meta property="og:description" content="Small exercises to get you used to reading and writing Rust code!" />
|
|
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content="rustlings" />
|
|
|
|
|
|
|
|
<meta http-equiv="Permissions-Policy" content="interest-cohort=()" />
|
|
<link rel="stylesheet" href="/oranda-v0.3.1.css" />
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="page-body">
|
|
|
|
<div class="repo_banner">
|
|
<a href="https://github.com/rust-lang/rustlings">
|
|
<div class="github-icon" aria-hidden="true"></div>
|
|
Check out our GitHub!
|
|
</a>
|
|
</div>
|
|
|
|
|
|
<main>
|
|
<header>
|
|
|
|
<h1 class="title">rustlings</h1>
|
|
|
|
<nav class="nav">
|
|
<ul>
|
|
<li><a href="/">Home</a></li>
|
|
|
|
|
|
|
|
|
|
<li><a href="/artifacts/">Install</a></li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="/changelog/">Changelog</a></li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
|
<div>
|
|
<h1>Rustlings 4.4.0</h1>
|
|
<div class="releases-body">
|
|
|
|
|
|
<section class="release ">
|
|
|
|
<div class="release-info">
|
|
<span class="flex items-center gap-2">
|
|
<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'>
|
|
<path stroke-linecap='round' stroke-linejoin='round' d='M9.568 3H5.25A2.25 2.25 0 003 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 005.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 009.568 3z' />
|
|
<path stroke-linecap='round' stroke-linejoin='round' d='M6 6h.008v.008H6V6z' /></svg>
|
|
4.4.0
|
|
</span>
|
|
<span class="flex items-center gap-2">
|
|
|
|
<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-6 h-6'><path stroke-linecap='round' stroke-linejoin='round' d='M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5' /></svg>
|
|
Apr 24 2021 at 10:04 UTC
|
|
|
|
</span>
|
|
</div>
|
|
<div class="release-body">
|
|
<h4>Bug Fixes</h4>
|
|
<ul>
|
|
<li>Fix spelling error in main.rs (<a href="https://github.com/rust-lang/rustlings/commit/91ee27f22bd3797a9db57e5fd430801c170c5db8" rel="noopener noreferrer">91ee27f2</a>)</li>
|
|
<li>typo in default out text (<a href="https://github.com/rust-lang/rustlings/commit/644c49f1e04cbb24e95872b3a52b07d692ae3bc8" rel="noopener noreferrer">644c49f1</a>)</li>
|
|
<li><strong>collections:</strong> Naming exercises for vectors and hashmap (<a href="https://github.com/rust-lang/rustlings/commit/bef39b125961310b34b34871e480a82e82af4678" rel="noopener noreferrer">bef39b12</a>)</li>
|
|
<li><strong>from_str:</strong>
|
|
<ul>
|
|
<li>Correct typos (<a href="https://github.com/rust-lang/rustlings/commit/5f7c89f85db1f33da01911eaa479c3a2d4721678" rel="noopener noreferrer">5f7c89f8</a>)</li>
|
|
<li>test for error instead of unwrap/should_panic (<a href="https://github.com/rust-lang/rustlings/commit/15e71535f37cfaed36e22eb778728d186e2104ab" rel="noopener noreferrer">15e71535</a>)</li>
|
|
<li>use trait objects for from_str (<a href="https://github.com/rust-lang/rustlings/commit/c3e7b831786c9172ed8bd5d150f3c432f242fba9" rel="noopener noreferrer">c3e7b831</a>)</li>
|
|
</ul>
|
|
</li>
|
|
<li><strong>functions3:</strong> improve function argument type (#687) (<a href="https://github.com/rust-lang/rustlings/commit/a6509cc4d545d8825f01ddf7ee37823b372154dd" rel="noopener noreferrer">a6509cc4</a>)</li>
|
|
<li><strong>hashmap2:</strong> Update incorrect assertion (#660) (<a href="https://github.com/rust-lang/rustlings/commit/72aaa15e6ab4b72b3422f1c6356396e20a2a2bb8" rel="noopener noreferrer">72aaa15e</a>)</li>
|
|
<li><strong>info:</strong> Fix typo (#635) (<a href="https://github.com/rust-lang/rustlings/commit/cddc1e86e7ec744ee644cc774a4887b1a0ded3e8" rel="noopener noreferrer">cddc1e86</a>)</li>
|
|
<li><strong>iterators2:</strong> Moved errors out of tests. (<a href="https://github.com/rust-lang/rustlings/commit/baf4ba175ba6eb92989e3dd54ecbec4bedc9a863" rel="noopener noreferrer">baf4ba17</a>, closes <a href="https://github.com/rust-lang/rustlings/issues/359" rel="noopener noreferrer">#359</a>)</li>
|
|
<li><strong>iterators3:</strong> Enabled iterators3.rs to run without commented out tests. (<a href="https://github.com/rust-lang/rustlings/commit/c6712dfccd1a093e590ad22bbc4f49edc417dac0" rel="noopener noreferrer">c6712dfc</a>)</li>
|
|
<li><strong>main:</strong> Let find_exercise work with borrows (<a href="https://github.com/rust-lang/rustlings/commit/347f30bd867343c5ace1097e085a1f7e356553f7" rel="noopener noreferrer">347f30bd</a>)</li>
|
|
<li><strong>move_semantics4:</strong>
|
|
<ul>
|
|
<li>Remove redundant "instead" (#640) (<a href="https://github.com/rust-lang/rustlings/commit/cc266d7d80b91e79df3f61984f231b7f1587218e" rel="noopener noreferrer">cc266d7d</a>)</li>
|
|
<li>Small readbility improvement (#617) (<a href="https://github.com/rust-lang/rustlings/commit/10965920fbdf8a1efc85bed869e55a1787006404" rel="noopener noreferrer">10965920</a>)</li>
|
|
</ul>
|
|
</li>
|
|
<li><strong>option2:</strong> Rename uninformative variables (#675) (<a href="https://github.com/rust-lang/rustlings/commit/b4de6594380636817d13c2677ec6f472a964cf43" rel="noopener noreferrer">b4de6594</a>)</li>
|
|
<li><strong>quiz3:</strong> Force an answer to Q2 (#672) (<a href="https://github.com/rust-lang/rustlings/commit/0d894e6ff739943901e1ae8c904582e5c2f843bd" rel="noopener noreferrer">0d894e6f</a>)</li>
|
|
<li><strong>structs:</strong> Add 5.3 to structs/README (#652) (<a href="https://github.com/rust-lang/rustlings/commit/6bd791f2f44aa7f0ad926df767f6b1fa8f12a9a9" rel="noopener noreferrer">6bd791f2</a>)</li>
|
|
<li><strong>structs2:</strong> correct grammar in hint (#663) (<a href="https://github.com/rust-lang/rustlings/commit/ebdb66c7bfb6d687a14cc511a559a222e6fc5de4" rel="noopener noreferrer">ebdb66c7</a>)</li>
|
|
<li><strong>structs3:</strong>
|
|
<ul>
|
|
<li>reword heading comment (#664) (<a href="https://github.com/rust-lang/rustlings/commit/9f3e8c2dde645e5264c2d2200e68842b5f47bfa3" rel="noopener noreferrer">9f3e8c2d</a>)</li>
|
|
<li>add check to prevent naive implementation of is_international (<a href="https://github.com/rust-lang/rustlings/commit/05a753fe6333d36dbee5f68c21dec04eacdc75df" rel="noopener noreferrer">05a753fe</a>)</li>
|
|
</ul>
|
|
</li>
|
|
<li><strong>threads1:</strong> line number correction (<a href="https://github.com/rust-lang/rustlings/commit/7857b0a689b0847f48d8c14cbd1865e3b812d5ca" rel="noopener noreferrer">7857b0a6</a>)</li>
|
|
<li><strong>try_from_into:</strong> use trait objects (<a href="https://github.com/rust-lang/rustlings/commit/2e93a588e0abe8badb7eafafb9e7d073c2be5df8" rel="noopener noreferrer">2e93a588</a>)</li>
|
|
</ul>
|
|
<h4>Features</h4>
|
|
<ul>
|
|
<li>Replace clap with argh (<a href="https://github.com/rust-lang/rustlings/commit/7928122fcef9ca7834d988b1ec8ca0687478beeb" rel="noopener noreferrer">7928122f</a>)</li>
|
|
<li>Replace emojis when NO_EMOJI env variable present (<a href="https://github.com/rust-lang/rustlings/commit/8d62a9963708dbecd9312e8bcc4b47049c72d155" rel="noopener noreferrer">8d62a996</a>)</li>
|
|
<li>Added iterators5.rs exercise. (<a href="https://github.com/rust-lang/rustlings/commit/b29ea17ea94d1862114af2cf5ced0e09c197dc35" rel="noopener noreferrer">b29ea17e</a>)</li>
|
|
<li><strong>arc1:</strong> Add more details to description and hint (#710) (<a href="https://github.com/rust-lang/rustlings/commit/81be40448777fa338ebced3b0bfc1b32d6370313" rel="noopener noreferrer">81be4044</a>)</li>
|
|
<li><strong>cli:</strong> Improve the list command with options, and then some (<a href="https://github.com/rust-lang/rustlings/commit/8bbe4ff1385c5c169c90cd3ff9253f9a91daaf8e" rel="noopener noreferrer">8bbe4ff1</a>)</li>
|
|
<li><strong>list:</strong>
|
|
<ul>
|
|
<li>updated progress percentage (<a href="https://github.com/rust-lang/rustlings/commit/1c6f7e4b7b9b3bd36f4da2bb2b69c549cc8bd913" rel="noopener noreferrer">1c6f7e4b</a>)</li>
|
|
<li>added progress info (<a href="https://github.com/rust-lang/rustlings/commit/c0e3daacaf6850811df5bc57fa43e0f249d5cfa4" rel="noopener noreferrer">c0e3daac</a>)</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p><a rel="noopener noreferrer"></a></p>
|
|
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
</main>
|
|
</div>
|
|
|
|
<footer>
|
|
|
|
<a href="https://github.com/rust-lang/rustlings"><div class="github-icon" aria-hidden="true"></div></a>
|
|
|
|
<span>
|
|
rustlings
|
|
</span>
|
|
</footer>
|
|
</div>
|
|
|
|
|
|
<script defer="true" data-domain="rustlings.cool" src="https://plausible.io/js/script.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html> |