projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
this seems to be a better approximation of my room number
[web.git]
/
ralf
/
_posts
/
2019-04-30-stacked-borrows-2.md
diff --git
a/ralf/_posts/2019-04-30-stacked-borrows-2.md
b/ralf/_posts/2019-04-30-stacked-borrows-2.md
index 573182609c221ac984791687f4efaaa408fa3a44..669d49dff54d539c813628b5501a72102742b50f 100644
(file)
--- a/
ralf/_posts/2019-04-30-stacked-borrows-2.md
+++ b/
ralf/_posts/2019-04-30-stacked-borrows-2.md
@@
-80,7
+80,7
@@
pub struct Stack {
{% endhighlight %}
The *tag* is also simpler than it was before: there are no longer separate tags for mutable and shared references.
{% highlight rust %}
-pub type PtrId =
NonZeroU
64;
+pub type PtrId =
u
64;
pub enum Tag {
Tagged(PtrId),
Untagged,