Fix extend doctest

This commit is contained in:
asonix 2021-01-03 18:16:59 -06:00
parent 757df7792d
commit 8822ab58ec

View file

@ -1130,7 +1130,7 @@ impl AnyBase {
/// # use activitystreams::{object::Video, base::AnyBase}; /// # use activitystreams::{object::Video, base::AnyBase};
/// # let video = Video::new(); /// # let video = Video::new();
/// # let any_base = AnyBase::from_extended(video)?; /// # let any_base = AnyBase::from_extended(video)?;
/// let video: Video = any_base.extend()?; /// let video: Option<Video> = any_base.extend()?;
/// # Ok(()) /// # Ok(())
/// # } /// # }
/// ``` /// ```