tidy up indentation part 2

This commit is contained in:
Rob Watson 2020-07-03 12:45:53 +02:00
parent 0048290868
commit 59f292bc1e
1 changed files with 10 additions and 10 deletions

View File

@ -253,11 +253,11 @@ fn torrent_search(
let mut stmt = conn.prepare(&stmt_str)?; let mut stmt = conn.prepare(&stmt_str)?;
let torrent_iter = stmt.query_map( let torrent_iter = stmt.query_map(
params!{ params![
query.replace(" ", "%"), query.replace(" ", "%"),
offset.to_string(), offset.to_string(),
size.to_string(), size.to_string(),
}, ],
|row| { |row| {
Ok(Torrent { Ok(Torrent {
infohash: row.get(0)?, infohash: row.get(0)?,