• cargo-show-asm 0.2.12/src/demangle.rs
    15
        let name = if input.starts_with("__") {
    16
            #[allow(clippy::string_slice)]
    17
            rustc_demangle::try_demangle(&input[1..]).ok()?
  • cucumber 0.19.1/src/step.rs
    208
            //        source string.
    209
            #[allow(clippy::string_slice)]
    210
            let matches = names
  • girt-config 2.2.0/src/utils.rs
    12
    #[allow(clippy::string_slice, clippy::indexing_slicing)]
    13
    pub(super) fn get_input(config: Option<&Config>, name: &str, default: &str) -> Result<Vec<String>> {
  • girt-core 2.2.1/src/modules/external_editor/argument_tokenizer.rs
    12
    // as far as I know, this is safe because the slices are always on specific boundaries
    13
    #[allow(clippy::string_slice, clippy::indexing_slicing)]
    14
    pub(super) fn tokenize(input: &str) -> Option<Vec<String>> {
  • girt-core 2.2.1/src/modules/list/utils.rs
    204
    // safe slice, as it is only on the hash, which is hexadecimal
    205
    #[allow(clippy::string_slice, clippy::indexing_slicing)]
    206
    pub(super) fn get_todo_line_segments(
  • girt-core 2.2.1/src/modules/show_commit/view_builder.rs
    66
    	// safe slice, as it is only on the hash, which is hexadecimal
    67
    	#[allow(clippy::string_slice, clippy::indexing_slicing)]
    68
    	fn build_leading_summary(commit: &Commit, is_full_width: bool) -> ViewLine {
    158
    	// safe slice, only slices across graphemes whitespace
    159
    	#[allow(clippy::string_slice, clippy::indexing_slicing)]
    160
    	fn get_diff_line_segments(
  • girt-input 2.2.0/src/key_bindings.rs
    35
    #[inline]
    36
    #[allow(clippy::string_slice, clippy::indexing_slicing)]
    37
    pub fn map_keybindings<CustomEvent: crate::CustomEvent>(bindings: &[String]) -> Vec<Event<CustomEvent>> {
  • girt-view 2.2.0/src/testutil.rs
    188
    #[allow(clippy::indexing_slicing, clippy::string_slice, clippy::panic)]
    189
    pub(crate) fn _assert_rendered_output(options: AssertRenderOptions, actual: &[String], expected: &[String]) {
  • plow_cli 0.4.8/src/manifest.rs
    324
                            }
    325
                            #[allow(clippy::string_slice)]
    326
                            #[allow(clippy::indexing_slicing)]
  • cucumber 0.19.1/src/writer/basic.rs
    1082
        //        string.
    1083
        #![allow(clippy::string_slice)]