kaisery
Rust 程序设计语言(第一版) 简体中文版

Updated 5 months ago

kaigedong (@kaigedong) started discussion #66

4 months ago · 0 comments

Open

因为存在上述的歧义,Rust 将会拒绝编译示例代码。为了继续我们需要向编译器提供更多关于引用生命周期的信息。这可以通过再函数签名中显式标明生命周期来完成:

4.10.生命周期 (Edit this file)

再函数签名中

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant