Skip to content

Replace Duration::from_secs(3 * 60) to Duration::from_mins(3)#298

Closed
edward-shen wants to merge 1 commit intometa-pytorch:mainfrom
edward-shen:export-D88522117
Closed

Replace Duration::from_secs(3 * 60) to Duration::from_mins(3)#298
edward-shen wants to merge 1 commit intometa-pytorch:mainfrom
edward-shen:export-D88522117

Conversation

@edward-shen
Copy link
Contributor

Summary:
Rust 1.91 introduced Duration::from_mins.

This diff replaces some instances of Duration::from_secs with the corresponding Duration::from_mins.

Reviewed By: ship-it-ship-it

Differential Revision: D88522117

Summary:
Rust 1.91 introduced `Duration::from_mins`.

This diff replaces some instances of `Duration::from_secs` with the corresponding `Duration::from_mins`.

Reviewed By: ship-it-ship-it

Differential Revision: D88522117
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 5, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 5, 2025

@edward-shen has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88522117.

@meta-codesync
Copy link

meta-codesync bot commented Dec 6, 2025

This pull request has been merged in d15dfbe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants