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

第6章所有权系统,第101页第6行 #1

Open
chaijie2018 opened this issue Jun 1, 2021 · 0 comments
Open

第6章所有权系统,第101页第6行 #1

chaijie2018 opened this issue Jun 1, 2021 · 0 comments

Comments

@chaijie2018
Copy link

原文中有这么一段表述:“引用是一种指针语义的语法,借用是对引用行为的描述,分为不可变借用和可变借用。借用的值与拥有所有权的值在使用方式上是一样的,而且不需要转移所有权,并在离开作用域时自动归还所有权。”

注意这里的黑体字部分,既然借用没有转移所有权,又何来归还所有权呢?

Repository owner deleted a comment from mkproject-admin Feb 21, 2024
Repository owner deleted a comment from fede-s Feb 22, 2024
Repository owner deleted a comment from adannalyn Feb 23, 2024
Repository owner deleted a comment from roneyfraga Mar 18, 2024
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

No branches or pull requests

3 participants
@chaijie2018 and others