compiler/fight-with-compiler/lifetime/too-long1 #981
Replies: 2 comments
-
可不可以这人认为:结构体里,尽量不要用引用,比如&str,用String并不会浪费什么资源,却可以让代码更清楚、更快速开发。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
是否可以这样说,凡是文中Interface结构体这种类型的代码,最佳实践都应该是样: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
compiler/fight-with-compiler/lifetime/too-long1
https://course.rs/compiler/fight-with-compiler/lifetime/too-long1.html
Beta Was this translation helpful? Give feedback.
All reactions