I'm having a hard time figuring out where do I need to write something to enable this feature.
I tried adding #![feature(str_split_once)]
to the file where I'm using it but nothing happens. By Googling I found How do you enable a Rust "crate feature"? but after adding
[features]
default = ["str_split_once"]
to Cargo it doesn't build with
Caused by: feature
default
includesstr_split_once
which is neither a dependency nor another feature