From 9d6b27e23cdf00d144931df9b1488f5111c3f7d5 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Tue, 20 Sep 2022 07:48:38 -0500 Subject: [PATCH] format references for automatic links Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com> Signed-off-by: Brian Hicks --- crates/roc_std/src/roc_dict.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/roc_std/src/roc_dict.rs b/crates/roc_std/src/roc_dict.rs index 2c4fdbf25e..4eae3877fd 100644 --- a/crates/roc_std/src/roc_dict.rs +++ b/crates/roc_std/src/roc_dict.rs @@ -11,9 +11,9 @@ use core::{ /// We do some things in this data structure that only make sense because the /// 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. -/// 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. #[derive(Default, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct RocDict(RocList>);