X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/dfe63277d6c24dc53d7b42e23840e6995d8fcc0b..25cdafc51c73f06f32f5ef5c84fa01fe98c63de4:/personal/_posts/2019-04-30-stacked-borrows-2.md?ds=sidebyside diff --git a/personal/_posts/2019-04-30-stacked-borrows-2.md b/personal/_posts/2019-04-30-stacked-borrows-2.md index 5731826..669d49d 100644 --- a/personal/_posts/2019-04-30-stacked-borrows-2.md +++ b/personal/_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 = NonZeroU64; +pub type PtrId = u64; pub enum Tag { Tagged(PtrId), Untagged,