Simplify default Result generics.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -35,7 +35,7 @@ impl super::Service {
|
||||
content_type: Option<&str>,
|
||||
dim: &Dim,
|
||||
file: &[u8],
|
||||
) -> Result<()> {
|
||||
) -> Result {
|
||||
let key =
|
||||
self.db
|
||||
.create_file_metadata(mxc, user, dim, content_disposition, content_type)?;
|
||||
|
||||
Reference in New Issue
Block a user