From 52a30cff4c8f3afa1877bbdc5afe30f07ec6dc45 Mon Sep 17 00:00:00 2001 From: Gareth Johnson Date: Fri, 23 Feb 2024 11:11:12 +0000 Subject: [PATCH] Update comments --- src/haystack/encoding/decode_ref_dis_factory.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/haystack/encoding/decode_ref_dis_factory.rs b/src/haystack/encoding/decode_ref_dis_factory.rs index a15c835..a27e139 100644 --- a/src/haystack/encoding/decode_ref_dis_factory.rs +++ b/src/haystack/encoding/decode_ref_dis_factory.rs @@ -6,10 +6,10 @@ use std::sync::RwLock; /// Enables display values to be injected into decoded Ref objects. /// /// This is used to handle the case whereby pre-calculated display -/// names for Refs need to be utilized when encoding/decoding haystack data. +/// names for Refs need to be utilized when decoding haystack data. /// /// Please note, the return type is a `Cow`. At some point we'll make `Ref` a little -/// more flexible regarding how it holds its display data and hence its usage. +/// more flexible regarding how it holds its display data. type RefDisFactoryFunc<'a> = Box) -> Option> + Send + Sync>; /// Holds the Ref factory function used for creating Refs.