mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-21 19:31:00 +00:00
Fix Add type alias
This commit is contained in:
parent
706c4b251a
commit
101db48fd0
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
# Unreleased
|
||||
- Update summary and content to return `OneOrMany<&'a AnyString>`
|
||||
- Implement as_single_xsd_string and as_single_rdf_lang_string for `OneOrMany<&'a AnyString>`
|
||||
- Change Add from aliasing `ActorAndObject` to `ActorAndObjectOptOriginAndTarget`
|
||||
|
||||
|
||||
# 0.7.0-alpha.10
|
||||
|
|
|
@ -1448,8 +1448,8 @@ pub type Accept = ActorAndObject<AcceptType>;
|
|||
/// implicitly by context. The origin can be used to identify the context from which the object originated.
|
||||
///
|
||||
/// This is just an alias for `Object<AddType>` because there's no fields inherent to
|
||||
/// Add that aren't already present on an ActorAndObject.
|
||||
pub type Add = ActorAndObject<AddType>;
|
||||
/// Add that aren't already present on an ActorAndObjectOptOriginAndTarget.
|
||||
pub type Add = ActorAndObjectOptOriginAndTarget<AddType>;
|
||||
|
||||
/// Indicates that the actor is blocking the object.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue