cargo clippy
This commit is contained in:
parent
979369b502
commit
d0a67798f8
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ impl Timestamp {
|
|||
Self::now().secs - self.secs
|
||||
}
|
||||
|
||||
pub fn to_rfc3339(&self) -> String {
|
||||
pub fn to_rfc3339(self) -> String {
|
||||
// Convert Unix timestamp to RFC3339 format
|
||||
// This is a simplified implementation that produces UTC timestamps
|
||||
let secs = self.secs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue