mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
format references for automatic links
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com> Signed-off-by: Brian Hicks <brian@brianthicks.com>
This commit is contained in:
parent
c6235f8c76
commit
9d6b27e23c
1 changed files with 2 additions and 2 deletions
|
@ -11,9 +11,9 @@ use core::{
|
||||||
/// We do some things in this data structure that only make sense because the
|
/// We do some things in this data structure that only make sense because the
|
||||||
/// memory is managed in Roc:
|
/// memory is managed in Roc:
|
||||||
///
|
///
|
||||||
/// 1. We don't implement an `IntoIterator` that iterates over owned values,
|
/// 1. We don't implement an [`IntoIterator`] that iterates over owned values,
|
||||||
/// since Roc owns the memory, not rust.
|
/// since Roc owns the memory, not rust.
|
||||||
/// 2. We use a union for `RocDictItem` instead of just a struct. See the
|
/// 2. We use a union for [`RocDictItem`] instead of just a struct. See the
|
||||||
/// comment on that data structure for why.
|
/// comment on that data structure for why.
|
||||||
#[derive(Default, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
#[derive(Default, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
pub struct RocDict<K, V>(RocList<RocDictItem<K, V>>);
|
pub struct RocDict<K, V>(RocList<RocDictItem<K, V>>);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue