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

Clarify the suggested steps in the pin page #2130

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

djmitche
Copy link
Collaborator

@djmitche djmitche commented Jun 7, 2024

The speaker notes suggest an evolution of the code to support a periodic timer, but the last step was under-specified.

(As mentioned by @fw-immunant and referenced in #1536)

The speaker notes suggest an evolution of the code to support a periodic
timer, but the last step was under-specified.
@djmitche djmitche requested a review from fw-immunant June 7, 2024 16:26
Copy link
Collaborator

@fw-immunant fw-immunant left a comment

Choose a reason for hiding this comment

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

Yep, Box::pin was the only way I was able to get this suggestion to work--trying to use stack pinning is not compatible with re-initializing in any formulation I could come up with.

@djmitche
Copy link
Collaborator Author

djmitche commented Jun 7, 2024

Agreed -- maybe this will get better in future Rust versions!

@djmitche djmitche merged commit 412eac6 into google:main Jun 7, 2024
34 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.

None yet

2 participants