difficulties/string #956
Replies: 2 comments 4 replies
-
小白想知道为什么编译器一定要在编译时知道 size; |
Beta Was this translation helpful? Give feedback.
2 replies
-
为什么 &str 可以调用 len() 这个method,按 C 风格的理解,&str就是个 字符串常量的指针,是rust里的&str和 C 里的 char* 不一样吗? let s0 = "abc"; |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
difficulties/string
https://course.rs/difficulties/string.html
Beta Was this translation helpful? Give feedback.
All reactions