chatmail / core

Chatmail Rust Core library, used by Android/iOS/desktop apps, bindings and bots 📧

Home Page:https://delta.chat/en/contribute

Repository from Github https://github.comchatmail/coreRepository from Github https://github.comchatmail/core

Enable `clippy::string_slice`

link2xt opened this issue · comments

commented

This is similar to indexing_slicing which I clean up in #6214

We should enable it like this:

#![cfg_attr(not(test), warn(clippy::string_slice))]

And get rid of all potentially panicking slicing that is detected.