You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// error: no member named 'contains' in 'AK::Vector<AK::DeprecatedString, 0>'
// ((((Jakt::DeprecatedString("test string"sv)).split(' '))).contains(Jakt::DeprecatedString("string"sv)));
fn main() {
"test string".split(c' ').contains("string")
}
Storing it in a variable first works as expected:
fn main() {
let words = "test string".split(c' ')
words.contains("string")
}
The text was updated successfully, but these errors were encountered:
The following fails to build:
Storing it in a variable first works as expected:
The text was updated successfully, but these errors were encountered: