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

更新pub restrict章节中的部分术语名称 #552

Merged
merged 3 commits into from
Aug 17, 2018

Conversation

huangjj27
Copy link
Contributor

  1. 将中文术语项目改为英文术语item, 以排除项目可能指代project的含义。
    alternative: 将术语翻译为
  2. 使用可见替代原文中使用的使用, 使得描述更加准确。
    “可见” item意味着能够通过use引用、使用,而pub(restrict)的限制就是让一个item不能在restrict范围外可见。

在Rust里面,“可见” `item`意味着能够通过`use`引用、使用,
已经包含了“不能够被其他模块使用”的含义。
@Librazy
Copy link
Contributor

Librazy commented Sep 10, 2017

统一翻译为项我觉得是可行的,不过原文中直接采用 item 居多
item可见这里的 item 建议不用反引号

@huangjj27 huangjj27 changed the title 更新pub restrict章节中的部分书名 更新pub restrict章节中的部分术语名称 Sep 10, 2017
反引号用以指代专有术语,而没有反引号的英文单词指代对应概念的实例。
@driftluo
Copy link
Member

使用 改为 可见 可行,原来确实翻译得不太准确

@wayslog wayslog merged commit 87bf5f6 into rustcc:master Aug 17, 2018
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.

4 participants