matrix-sdk: Fix a clippy lint.
parent
35247fac2a
commit
59917f45e3
|
@ -841,7 +841,7 @@ impl Client {
|
|||
since: Option<&str>,
|
||||
server: Option<&ServerName>,
|
||||
) -> Result<get_public_rooms::Response> {
|
||||
let limit = limit.map(|n| UInt::from(n));
|
||||
let limit = limit.map(UInt::from);
|
||||
|
||||
let request = assign!(get_public_rooms::Request::new(), {
|
||||
limit,
|
||||
|
|
Loading…
Reference in New Issue