style: remove trailing spaces

This commit is contained in:
Valentin Bersier
2023-01-09 16:46:12 +01:00
parent c76ad81a55
commit bc170f139e

View File

@@ -54,10 +54,10 @@ pub fn indexed_paths(connection: &sqlite::Connection) -> Result<Vec<File>> {
pub fn duplicate_hashes(connection: &sqlite::Connection, path: &str) -> Result<Vec<File>> {
let query = format!(
"
"
SELECT a.* FROM files a
JOIN (SELECT file_identifier, hash, COUNT(*)
FROM files
FROM files
GROUP BY hash
HAVING count(*) > 1 ) b
ON a.hash = b.hash