mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-24 21:01:00 +00:00
Fix extend doctest
This commit is contained in:
parent
757df7792d
commit
8822ab58ec
1 changed files with 1 additions and 1 deletions
|
@ -1130,7 +1130,7 @@ impl AnyBase {
|
|||
/// # use activitystreams::{object::Video, base::AnyBase};
|
||||
/// # let video = Video::new();
|
||||
/// # let any_base = AnyBase::from_extended(video)?;
|
||||
/// let video: Video = any_base.extend()?;
|
||||
/// let video: Option<Video> = any_base.extend()?;
|
||||
/// # Ok(())
|
||||
/// # }
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue