Merge serde attributes and improve docs

This commit is contained in:
Jonas Platte
2021-10-08 12:45:56 +02:00
parent 271491732e
commit aa5fdf9d22
90 changed files with 524 additions and 314 deletions

View File

@@ -33,8 +33,10 @@ pub type StateMap<T> = HashMap<(EventType, String), T>;
/// A mapping of `EventId` to `T`, usually a `ServerPdu`.
type EventMap<T> = HashMap<EventId, T>;
/// Resolve sets of state events as they come in. Internally `StateResolution` builds a graph and an
/// auth chain to allow for state conflict resolution.
/// Resolve sets of state events as they come in.
///
/// Internally `StateResolution` builds a graph and an auth chain to allow for state conflict
/// resolution.
///
/// ## Arguments
///