matrix-sdk: Fix a clippy lint.

master
Damir Jelić 2020-12-08 11:01:20 +01:00
parent 35247fac2a
commit 59917f45e3
1 changed files with 1 additions and 1 deletions

View File

@ -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,