Skip to content

Commit

Permalink
Fixes clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpii committed Sep 2, 2024
1 parent e90f265 commit 7258ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expense.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct Entity {
}

impl Entity {
pub fn from<'r>(data: &crate::FormData<'r>) -> Self {
pub fn from(data: &crate::FormData) -> Self {
Self {
id: data.id,
created_at: crate::FormData::parse_date(&data.created_at),
Expand Down

0 comments on commit 7258ef7

Please sign in to comment.