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

子类型小节翻译修改建议 #47

Closed
kynehc opened this issue Dec 12, 2024 · 1 comment · Fixed by #48
Closed

子类型小节翻译修改建议 #47

kynehc opened this issue Dec 12, 2024 · 1 comment · Fixed by #48

Comments

@kynehc
Copy link
Contributor

kynehc commented Dec 12, 2024

原文 “This would be rather unfortunate. In this case, what we want is to accept any type that lives at least as long as 'world. Let's try using subtyping with our lifetimes.“
译文 “ 这是相当不幸的。在这种情况下,我们希望接受的类型的生命周期至少要和 'world 一样长。 让我们尝试使用生命周期进行子类型化。”

“在这种情况下,我们希望接受的类型的生命周期至少要和 'world 一样长。” 这句话读起来有点奇怪,建议可以改为:
“在这种情况下,我们希望接受至少与 'world' 一样长生命周期的任何类型”

@PureWhiteWu
Copy link
Member

非常感谢你的建议!是否方便直接提个 pr 呀~

@kynehc kynehc mentioned this issue Dec 12, 2024
@PureWhiteWu PureWhiteWu linked a pull request Dec 12, 2024 that will close this issue
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 a pull request may close this issue.

2 participants