Skip to content

Conversation

@Evalir
Copy link
Member

@Evalir Evalir commented Jul 2, 2025

No reason not to have this, useful for use also outside the calculator itself.

No reason not to have this, useful for use also outside the calculator itself.
Copy link
Member Author

Evalir commented Jul 2, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Evalir Evalir requested a review from prestwich July 2, 2025 13:04
}

/// The current timestamp in seconds.
pub fn current_timestamp(&self) -> u64 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't use self in the function body, shouldn't be a method. also wouldn't use the Self type, so shouldn't be an associated function

@prestwich
Copy link
Member

closing as stale

@prestwich prestwich closed this Jul 16, 2025
@Evalir Evalir deleted the evalir/add-current-ts branch July 16, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants