tidy up indentation part 2
This commit is contained in:
parent
0048290868
commit
59f292bc1e
|
@ -253,11 +253,11 @@ fn torrent_search(
|
|||
let mut stmt = conn.prepare(&stmt_str)?;
|
||||
|
||||
let torrent_iter = stmt.query_map(
|
||||
params!{
|
||||
params![
|
||||
query.replace(" ", "%"),
|
||||
offset.to_string(),
|
||||
size.to_string(),
|
||||
},
|
||||
],
|
||||
|row| {
|
||||
Ok(Torrent {
|
||||
infohash: row.get(0)?,
|
||||
|
|
Loading…
Reference in New Issue