Skip to content
Snippets Groups Projects
Commit 739f037e authored by Stephen D's avatar Stephen D
Browse files

fix clippy issue

parent 7d592250
No related branches found
No related tags found
No related merge requests found
Pipeline #4329 passed
...@@ -117,7 +117,7 @@ impl SingleMessageHandler { ...@@ -117,7 +117,7 @@ impl SingleMessageHandler {
.get_results(&*self.conn.lock().await)?; .get_results(&*self.conn.lock().await)?;
let repost_id: &Option<BigDecimal> = let repost_id: &Option<BigDecimal> =
repost_id.get(0).context("Insert of mapping failed")?; repost_id.first().context("Insert of mapping failed")?;
match repost_id { match repost_id {
Some(id) => { Some(id) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment