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

[breaking?] Remove Sync requirement on impl Debug for Lazy<T> #19

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

Tamschi
Copy link
Contributor

@Tamschi Tamschi commented Jan 17, 2021

Sorry, I missed one extra Sync clause when removing them for #15.

This pull request removes the T: Sync bound on impl<T> fmt::Debug for Lazy<T>, since the necessary threading constraints are already inherited from LazyTransform<(), T>. With this change, there should be no remaining rough edges specific to single-threaded consumers of this library.

@khuey khuey merged commit c7e8e56 into khuey:master Jan 18, 2021
@Tamschi Tamschi deleted the further-Sync-relaxation branch January 19, 2021 06:16
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