Enable more lints and apply their suggestions
This commit is contained in:
parent
09895a20c8
commit
1c4d9af586
13 changed files with 47 additions and 40 deletions
|
@ -344,7 +344,7 @@ impl<T: Outgoing> Deref for Ruma<T> {
|
|||
}
|
||||
|
||||
/// This struct converts ruma responses into rocket http responses.
|
||||
pub type ConduitResult<T> = std::result::Result<RumaResponse<T>, Error>;
|
||||
pub type ConduitResult<T> = Result<RumaResponse<T>, Error>;
|
||||
|
||||
pub fn response<T: OutgoingResponse>(response: RumaResponse<T>) -> response::Result<'static> {
|
||||
let http_response = response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue