镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Explicitly annotate lifetime in return types - #522

Open
phreppo wants to merge 1 commit into
mozilla:masterfrom
phreppo:explicit-lifetimes
Open

phreppo wants to merge 1 commit into
mozilla:masterfrom
phreppo:explicit-lifetimes

Conversation

@phreppo

@phreppo phreppo commented Nov 21, 2025

Copy link
Copy Markdown

Hiding lifetimes that are elided elsewhere is confusing.
Also, this generates warnings in recent versions of the compiler.
I am using 1.89.

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.

1 participant