Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the “ms” prefix in Gtfs.print_stats #171

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

Maeeen
Copy link
Contributor

@Maeeen Maeeen commented Nov 1, 2024

The switch to a duration introduced in commit c0f170f makes the need to print an extra “ms” unnecessary, as it is already handled in the Rust standard library.

For reference,

The switch to a duration introduced in commit c0f170f makes
the need to print an extra “ms” unnecessary, as it is already handled
in the Rust standard library.

For reference,
- the `fmt` function: https://doc.rust-lang.org/src/core/time.rs.html#1241
- its automatic prefixing: https://doc.rust-lang.org/src/core/time.rs.html#1402
Copy link
Collaborator

@antoine-de antoine-de left a comment

Choose a reason for hiding this comment

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

thanks!

@antoine-de antoine-de merged commit 051b3ab into rust-transit:main Nov 4, 2024
2 checks passed
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.

2 participants