mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 07:46:29 +00:00
144 lines
No EOL
5.3 KiB
HTML
144 lines
No EOL
5.3 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 5.5.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>
|
|
5.5.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>
|
|
May 17 2023 at 14:31 UTC
|
|
|
|
</span>
|
|
</div>
|
|
<div class="release-body">
|
|
<h4>Added</h4>
|
|
<ul>
|
|
<li><code>strings2</code>: Added a reference to the book chapter for reference conversion</li>
|
|
<li><code>lifetimes</code>: Added a link to the lifetimekata project</li>
|
|
<li>Added a new <code>tests4</code> exercises, which teaches about testing for panics</li>
|
|
<li>Added a <code>!</code> prefix command to watch mode that runs an external command</li>
|
|
<li>Added a <code>--success-hints</code> option to watch mode that shows hints on exercise success</li>
|
|
</ul>
|
|
<h4>Changed</h4>
|
|
<ul>
|
|
<li><code>vecs2</code>: Renamed iterator variable bindings for clarify</li>
|
|
<li><code>lifetimes</code>: Changed order of book references</li>
|
|
<li><code>hashmaps2</code>: Clarified instructions in the todo block</li>
|
|
<li>Moved lifetime exercises before test exercises (via the recommended book ordering)</li>
|
|
<li><code>options2</code>: Improved tests for layering options</li>
|
|
<li><code>modules2</code>: Added more information to the hint</li>
|
|
</ul>
|
|
<h4>Fixed</h4>
|
|
<ul>
|
|
<li><code>errors2</code>: Corrected a comment wording</li>
|
|
<li><code>iterators2</code>: Fixed a spelling mistake in the hint text</li>
|
|
<li><code>variables</code>: Wrapped the mut keyword with backticks for readability</li>
|
|
<li><code>move_semantics2</code>: Removed references to line numbers</li>
|
|
<li><code>cow1</code>: Clarified the <code>owned_no_mutation</code> comments</li>
|
|
<li><code>options3</code>: Changed exercise to panic when no match is found</li>
|
|
<li><code>rustlings lsp</code> now generates absolute paths, which should fix VSCode <code>rust-analyzer</code> usage on Windows</li>
|
|
</ul>
|
|
<h4>Housekeeping</h4>
|
|
<ul>
|
|
<li>Added a markdown linter to run on GitHub actions</li>
|
|
<li>Split quick installation section into two code blocks</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> |