diff --git a/trustfall_core/src/interpreter/hints/candidates.rs b/trustfall_core/src/interpreter/hints/candidates.rs index 97ff6350..b7e2fe7b 100644 --- a/trustfall_core/src/interpreter/hints/candidates.rs +++ b/trustfall_core/src/interpreter/hints/candidates.rs @@ -30,7 +30,7 @@ pub enum CandidateValue { impl CandidateValue<&T> { /// Converts from `CandidateValue<&T>` to `CandidateValue`. - pub fn cloned(&self) -> CandidateValue { + pub(crate) fn cloned(&self) -> CandidateValue { match self { CandidateValue::Impossible => CandidateValue::Impossible, CandidateValue::Single(s) => CandidateValue::Single((*s).clone()),