Skip to content

Commit

Permalink
fix clippy, update rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Nov 29, 2024
1 parent 63ac8b7 commit afae54b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####################################################################################################
## Builder
####################################################################################################
FROM rust:1.82.0-bullseye AS builder
FROM rust:1.83.0-bullseye AS builder
RUN apt update && apt install -y libssl-dev pkg-config libz-dev libcurl4 postgresql
RUN update-ca-certificates

Expand Down
2 changes: 1 addition & 1 deletion src/deliver/deliver_chat_updates_job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub struct DeliverChatUpdates<'a> {
api: &'a Api,
}

impl<'a> DeliverChatUpdates<'a> {
impl DeliverChatUpdates<'_> {
pub fn deliver(&mut self) -> Result<(), DeliverJobError> {
let feed_items = telegram::find_undelivered_feed_items(
self.db_connection,
Expand Down
2 changes: 1 addition & 1 deletion src/sync/reader/atom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl From<AtomFeed> for FetchedFeed {
let mut items = feed
.entries()
.iter()
.filter(|item| item.links().first().is_some())
.filter(|item| item.links().is_empty())
.map(|item| {
let base_date = match item.published() {
None => Some(item.updated()),
Expand Down

0 comments on commit afae54b

Please sign in to comment.