Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ddboline committed Nov 19, 2023
1 parent d4d61a2 commit a63f2a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion garmin_lib/src/common/garmin_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl GarminFile {
GARMIN_LAP_AVRO_SCHEMA,
r#"}},{"name": "points", "type": {"type": "array", "items": "#,
GARMIN_POINT_AVRO_SCHEMA,
r#"}}]}"#,
r"}}]}",
)
}

Expand Down
4 changes: 2 additions & 2 deletions garmin_lib/src/common/garmin_summary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,11 @@ pub async fn get_filename_from_datetime(
pool: &PgPool,
begin_datetime: OffsetDateTime,
) -> Result<Option<StackString>, Error> {
let query = r#"
let query = r"
SELECT filename
FROM garmin_summary
WHERE begin_datetime = $1
"#;
";
let conn = pool.get().await?;
conn.query(query, &[&begin_datetime])
.await?
Expand Down

0 comments on commit a63f2a2

Please sign in to comment.