matrix-sdk: Fix a clippy lint.
This commit is contained in:
parent
35247fac2a
commit
59917f45e3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue