mirror of
https://github.com/rust-unofficial/patterns
synced 2024-11-14 18:12:46 +00:00
deploy: 450bf218dc
This commit is contained in:
parent
9c1346466f
commit
1380c15fd9
@ -243,6 +243,7 @@ most common uses, but they can be used for other reasons:</p>
|
||||
<p><a href="https://doc.rust-lang.org/1.0.0/style/features/types/newtype.html">Newtypes in the style guide</a>.</p>
|
||||
<p><a href="https://wiki.haskell.org/Newtype">Newtypes in Haskell</a></p>
|
||||
<p><a href="https://doc.rust-lang.org/stable/book/ch19-04-advanced-types.html#creating-type-synonyms-with-type-aliases">Type aliases</a></p>
|
||||
<p><a href="https://crates.io/crates/derive_more">derive_more</a>, a crate for deriving many builtin traits on newtypes.</p>
|
||||
|
||||
</main>
|
||||
|
||||
|
@ -1167,6 +1167,7 @@ most common uses, but they can be used for other reasons:</p>
|
||||
<p><a href="https://doc.rust-lang.org/1.0.0/style/features/types/newtype.html">Newtypes in the style guide</a>.</p>
|
||||
<p><a href="https://wiki.haskell.org/Newtype">Newtypes in Haskell</a></p>
|
||||
<p><a href="https://doc.rust-lang.org/stable/book/ch19-04-advanced-types.html#creating-type-synonyms-with-type-aliases">Type aliases</a></p>
|
||||
<p><a href="https://crates.io/crates/derive_more">derive_more</a>, a crate for deriving many builtin traits on newtypes.</p>
|
||||
<h1><a class="header" href="#raii-with-guards" id="raii-with-guards">RAII with guards</a></h1>
|
||||
<h2><a class="header" href="#description-16" id="description-16">Description</a></h2>
|
||||
<p><a href="https://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization">RAII</a> stands for "Resource Acquisition is Initialisation" which is a terrible
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user