From 9c8e918440bc6edcff55934145e96a3b6c864a0a Mon Sep 17 00:00:00 2001 From: Mark <> Date: Wed, 18 Sep 2024 17:18:38 +0200 Subject: [PATCH] fix doc comment on is_included_in --- mers_lib/src/data/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mers_lib/src/data/mod.rs b/mers_lib/src/data/mod.rs index ce3a2c5..4f0d421 100755 --- a/mers_lib/src/data/mod.rs +++ b/mers_lib/src/data/mod.rs @@ -64,7 +64,7 @@ pub trait MersType: Any + Debug + Display + Send + Sync { /// If self and other are different types (`other.as_any().downcast_ref::().is_none()`), /// this *must* return false. fn is_same_type_as(&self, other: &dyn MersType) -> bool; - /// This doesn't handle the case where target is Type (is_included_in handles it) + /// This doesn't handle the case where target is Type (Type::is_included_in handles it) fn is_included_in(&self, target: &dyn MersType) -> bool; /// Returns all types that can result from the use of this type. /// Usually, this is just `acc.add(Arc::new(self.clone()))`