mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-22 11:51: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
|
# Unreleased
|
||||||
- Update summary and content to return `OneOrMany<&'a AnyString>`
|
- Update summary and content to return `OneOrMany<&'a AnyString>`
|
||||||
- Implement as_single_xsd_string and as_single_rdf_lang_string for `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
|
# 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.
|
/// 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
|
/// This is just an alias for `Object<AddType>` because there's no fields inherent to
|
||||||
/// Add that aren't already present on an ActorAndObject.
|
/// Add that aren't already present on an ActorAndObjectOptOriginAndTarget.
|
||||||
pub type Add = ActorAndObject<AddType>;
|
pub type Add = ActorAndObjectOptOriginAndTarget<AddType>;
|
||||||
|
|
||||||
/// Indicates that the actor is blocking the object.
|
/// Indicates that the actor is blocking the object.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue