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

Modernize time::tm and make it serializable #4046

Merged
merged 3 commits into from
Nov 28, 2012
Merged

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Nov 27, 2012

This is built on top of @jesse99's #4041 pull request. It avoids #4044 by getting rid of the wrapper Tm enum, and turning Tm_ directly into a struct.

jesse99 and others added 3 commits November 26, 2012 21:49
… to Tm and Tm_.

Not entirely clear what the best way to do this is. Right now we persist the entire
struct which seems to be both portable and exactly round-trippable.
This avoids rust-lang#4044 by not using the enum wrapper, and turning Tm_
directly into a struct. Along the way it modernizes the codebase
to eliminate no-implicit-copies warnings.
@brson brson merged commit 32763ca into rust-lang:incoming Nov 28, 2012
@brson
Copy link
Contributor

brson commented Nov 28, 2012

Thanks! Merged.

RalfJung added a commit to RalfJung/rust that referenced this pull request Dec 8, 2024
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