mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-01-13 16:16:28 +00:00
157 lines
No EOL
9.1 KiB
HTML
157 lines
No EOL
9.1 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="/changelog/">Changelog</a></li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
|
<div>
|
|
<h1>Rustlings 4.0.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.0.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>
|
|
Jul 8 2020 at 09:41 UTC
|
|
|
|
</span>
|
|
</div>
|
|
<div class="release-body">
|
|
<h4>Breaking Changes</h4>
|
|
<ul>
|
|
<li>Add a --nocapture option to display test harnesses' outputs (<a href="https://github.com/rust-lang/rustlings/commit/8ad5f9bf531a4848b1104b7b389a20171624c82f" rel="noopener noreferrer">8ad5f9bf</a>)</li>
|
|
<li>Rename test to quiz, fixes #244 (<a href="https://github.com/rust-lang/rustlings/commit/010a04569282149cea7f7a76fc4d7f4c9f0f08dd" rel="noopener noreferrer">010a0456</a>)</li>
|
|
</ul>
|
|
<h4>Features</h4>
|
|
<ul>
|
|
<li>Add traits README (<a href="https://github.com/rust-lang/rustlings/commit/173bb14140c5530cbdb59e53ace3991a99d804af" rel="noopener noreferrer">173bb141</a>)</li>
|
|
<li>Add box1.rs exercise (<a href="https://github.com/rust-lang/rustlings/commit/7479a4737bdcac347322ad0883ca528c8675e720" rel="noopener noreferrer">7479a473</a>)</li>
|
|
<li>Rewrite try_from_into (#393) (<a href="https://github.com/rust-lang/rustlings/commit/763aa6e378a586caae2d8d63755a85eeba227933" rel="noopener noreferrer">763aa6e3</a>)</li>
|
|
<li>Add if2 exercise (<a href="https://github.com/rust-lang/rustlings/commit/1da84b5f7c489f65bd683c244f13c7d1ee812df0" rel="noopener noreferrer">1da84b5f</a>)</li>
|
|
<li>Added exercise structs3.rs (<a href="https://github.com/rust-lang/rustlings/commit/b66e2e09622243e086a0f1258dd27e1a2d61c891" rel="noopener noreferrer">b66e2e09</a>)</li>
|
|
<li>Add exercise variables6 covering const (#352) (<a href="https://github.com/rust-lang/rustlings/commit/5999acd24a4f203292be36e0fd18d385887ec481" rel="noopener noreferrer">5999acd2</a>)</li>
|
|
</ul>
|
|
<h4>Bug Fixes</h4>
|
|
<ul>
|
|
<li>Change then to than (<a href="https://github.com/rust-lang/rustlings/commit/ddd98ad75d3668fbb10eff74374148aa5ed2344d" rel="noopener noreferrer">ddd98ad7</a>)</li>
|
|
<li>rename quiz1 to tests1 in info (#420) (<a href="https://github.com/rust-lang/rustlings/commit/0dd1c6ca6b389789e0972aa955fe17aa15c95f29" rel="noopener noreferrer">0dd1c6ca</a>)</li>
|
|
<li>fix quiz naming inconsistency (#421) (<a href="https://github.com/rust-lang/rustlings/commit/5563adbb890587fc48fbbc9c4028642687f1e85b" rel="noopener noreferrer">5563adbb</a>)</li>
|
|
<li>confine the user further in variable exercises (<a href="https://github.com/rust-lang/rustlings/commit/06ef4cc654e75d22a526812919ee49b8956280bf" rel="noopener noreferrer">06ef4cc6</a>)</li>
|
|
<li>update iterator and macro text for typos and clarity (<a href="https://github.com/rust-lang/rustlings/commit/959008284834bece0196a01e17ac69a7e3590116" rel="noopener noreferrer">95900828</a>)</li>
|
|
<li>update generics2 closes #362 (<a href="https://github.com/rust-lang/rustlings/commit/964c974a0274199d755073b917c2bc5da0c9b4f1" rel="noopener noreferrer">964c974a</a>)</li>
|
|
<li>confusing comment in conversions/try_from_into.rs (<a href="https://github.com/rust-lang/rustlings/commit/c9e4f2cfb4c48d0b7451263cfb43b9426438122d" rel="noopener noreferrer">c9e4f2cf</a>)</li>
|
|
<li><strong>arc1:</strong> Passively introduce attributes (#429) (<a href="https://github.com/rust-lang/rustlings/commit/113cdae2d4e4c55905e8056ad326ede7fd7de356" rel="noopener noreferrer">113cdae2</a>)</li>
|
|
<li><strong>box1:</strong> fix comment typo (#426) (<a href="https://github.com/rust-lang/rustlings/commit/bb2ca251106b27a7272d9a30872904dd1376654c" rel="noopener noreferrer">bb2ca251</a>)</li>
|
|
<li><strong>errorsn:</strong> Try harder to confine the user. (#388) (<a href="https://github.com/rust-lang/rustlings/commit/2b20c8a0f5774d07c58d110d75879f33fc6273b5" rel="noopener noreferrer">2b20c8a0</a>)</li>
|
|
<li><strong>from_into.rs:</strong> typo (<a href="https://github.com/rust-lang/rustlings/commit/a901499ededd3ce1995164700514fe4e9a0373ea" rel="noopener noreferrer">a901499e</a>)</li>
|
|
<li><strong>generics2:</strong> Guide students to the answer (#430) (<a href="https://github.com/rust-lang/rustlings/commit/e6bd8021d9a7dd06feebc30c9d5f953901d7b419" rel="noopener noreferrer">e6bd8021</a>)</li>
|
|
<li><strong>installation:</strong>
|
|
<ul>
|
|
<li>Provide a backup git reference when tag can't be curl (<a href="https://github.com/rust-lang/rustlings/commit/9e4fb1009f1c9e3433915c03e22c2af422e5c5fe" rel="noopener noreferrer">9e4fb100</a>)</li>
|
|
<li>Check if python is available while checking for git,rustc and cargo (<a href="https://github.com/rust-lang/rustlings/commit/9cfb617d5b0451b4b51644a1298965390cda9884" rel="noopener noreferrer">9cfb617d</a>)</li>
|
|
</ul>
|
|
</li>
|
|
<li><strong>option1:</strong>
|
|
<ul>
|
|
<li>Don't add only zeros to the numbers array (<a href="https://github.com/rust-lang/rustlings/commit/cce6a4427718724a9096800754cd3abeca6a1580" rel="noopener noreferrer">cce6a442</a>)</li>
|
|
<li>Add cast to usize, as it is confusing in the context of an exercise about Option (<a href="https://github.com/rust-lang/rustlings/commit/f6cffc7e487b42f15a6f958e49704c93a8d4465b" rel="noopener noreferrer">f6cffc7e</a>)</li>
|
|
</ul>
|
|
</li>
|
|
<li><strong>option2:</strong> Add TODO to comments (#400) (<a href="https://github.com/rust-lang/rustlings/commit/10967bce57682812dc0891a9f9757da1a9d87404" rel="noopener noreferrer">10967bce</a>)</li>
|
|
<li><strong>options1:</strong> Add hint about Array Initialization (#389) (<a href="https://github.com/rust-lang/rustlings/commit/9f75554f2a30295996f03f0160b98c0458305502" rel="noopener noreferrer">9f75554f</a>)</li>
|
|
<li><strong>test2:</strong> name of type String and &str (#394) (<a href="https://github.com/rust-lang/rustlings/commit/d6c0a688e6a96f93ad60d540d4b326f342fc0d45" rel="noopener noreferrer">d6c0a688</a>)</li>
|
|
<li><strong>variables6:</strong> minor typo (#419) (<a href="https://github.com/rust-lang/rustlings/commit/524e17df10db95f7b90a0f75cc8997182a8a4094" rel="noopener noreferrer">524e17df</a>)</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, MIT
|
|
</span>
|
|
</footer>
|
|
</div>
|
|
|
|
|
|
<script defer="true" data-domain="rustlings.cool" src="https://plausible.io/js/script.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
</html> |