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

Update methods to create FromFnLayer #2966

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Conversation

HigherOrderLogic
Copy link
Contributor

Motivation

The method can also create FromFnLayer but it is missing from the docs.

Solution

Mention from_fn_with_state in the doc comment.

Copy link
Collaborator

@yanns yanns left a comment

Choose a reason for hiding this comment

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

👍

@jplatte jplatte enabled auto-merge (squash) October 10, 2024 22:19
@jplatte jplatte merged commit 2f18abb into tokio-rs:main Oct 10, 2024
18 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.

3 participants