diff --git a/src/rcore.rs b/src/rcore.rs index 609d06a..b49c688 100644 --- a/src/rcore.rs +++ b/src/rcore.rs @@ -51,7 +51,7 @@ pub use self::slice_deserializer::SliceDeserializer; /// Helper alias for [`WeakFunctor::F`] of [`FunctorContext::T`]. pub type Wrapped<'a, Ctx, A> = WrapC<'a, A, Ctx>; -/// Base for [`Mentionable`]. +/// [Mentionable] base. pub trait MentionableBase<'a, Ctx: Context<'a>>: 'a + Serializable + Sized { /// Type of the associated factory. type Fctr: FactoryBase<'a, Ctx, Mtbl = Self>; @@ -60,6 +60,7 @@ pub trait MentionableBase<'a, Ctx: Context<'a>>: 'a + Serializable + Sized { fn factory(&self) -> Self::Fctr; } +/// Topological [Mentionable]. Allows iterating over [Point]s it references, if any; pub trait MentionableTop<'a, Ctx: Context<'a>>: 'a { /// See implementation for the definition. /// Hash of all the references' points concatenated, ordered, non-unique. diff --git a/src/rstd/atomic.rs b/src/rstd/atomic.rs index 397b974..b4ae07c 100644 --- a/src/rstd/atomic.rs +++ b/src/rstd/atomic.rs @@ -24,7 +24,7 @@ pub type AParseError<A> = <A as AtomicBase>::AParseError; pub type AParseResult<A> = Result<A, AParseError<A>>; -/// Base for [`Atomic`]. +/// [`Atomic`] base. pub trait AtomicBase: 'static + Send + Sync + Send + Clone + Serializable { /// Equivalent of [`FactoryBase::ParseError`]. type AParseError: Error;