Skip to content

Commit

Permalink
style: remove useless format! call
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianMika committed Jun 24, 2023
1 parent 99ddbe6 commit 6f72a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/common/src/server_repo/postgres_server_repo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl ServerRepo for PostgresServerRepo {
.load::<MeasurementStore>(&mut self.get_connection()?)
.into_report()
.change_context(DbError::FetchError)
.attach_printable(format!("Couldn't fetch the last measurement"))?;
.attach_printable("Couldn't fetch the last measurement")?;
Ok(result.first().cloned())
}

Expand Down

0 comments on commit 6f72a32

Please sign in to comment.