Skip to content

Commit 9c6fd89

Browse files
authored
Merge pull request #486 from aaravlu/fix-1-78-clippy-warn
2 parents 09b3a82 + baf0c52 commit 9c6fd89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sliding_sync.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ pub type OnMediaFetchedFn = fn(
217217

218218

219219
/// The set of requests for async work that can be made to the worker thread.
220+
#[allow(clippy::large_enum_variant)]
220221
pub enum MatrixRequest {
221222
/// Request from the login screen to log in with the given credentials.
222223
Login(LoginRequest),
@@ -2544,8 +2545,7 @@ async fn spawn_sso_server(
25442545
}
25452546
Uri::new(&sso_url).open().map_err(|err| {
25462547
Error::UnknownError(
2547-
Box::new(io::Error::new(
2548-
io::ErrorKind::Other,
2548+
Box::new(io::Error::other(
25492549
format!("Unable to open SSO login url. Error: {:?}", err),
25502550
))
25512551
.into(),

0 commit comments

Comments
 (0)