diff --git a/src/lib.rs b/src/lib.rs index 035d134..8ddec99 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,12 +17,12 @@ use serde::{Deserialize, Serialize}; use url::Url; use uuid::Uuid; -/// Object with trait contains a valid URL. +/// An object with the [`IUrl`] trait contains a valid URL. pub trait IUrl { fn url(&self) -> &str; } -/// Object with trait contains a [MusicBrainz +/// An object with the [`IMbid`] trait contains a [MusicBrainz /// Identifier](https://musicbrainz.org/doc/MusicBrainz_Identifier) (MBID). pub trait IMbid { fn mbid(&self) -> &str;