The Rust Programming Language Forum
Why can't I call .chars().count() on a const &str?
help
daboross
May 4, 2020, 12:07pm
5
For future reference: that is
this thread
from 4 days ago with about the same question.
1 Like
show post in topic
Related Topics
Topic
Replies
Views
Activity
How can I compile this?
help
4
527
May 4, 2020
Why len() of &'static is not const?
help
2
435
January 14, 2022
When should `const` be used within a function?
help
6
6413
January 12, 2023
Const from (filler for silly 15 characters lower title limit)
3
356
January 12, 2023
Passing `&[&CStr]` to a function taking `*const *const c_char`
4
223
December 29, 2023