mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
Simplify return type of most route handlers
This commit is contained in:
@@ -29,9 +29,6 @@ impl<T: Outgoing> Deref for Ruma<T> {
|
||||
}
|
||||
}
|
||||
|
||||
/// This struct converts ruma structs to http responses.
|
||||
pub type ConduitResult<T> = Result<RumaResponse<T>, Error>;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct RumaResponse<T>(pub T);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user