• git-checks 4.2.1/src/valid_name.rs
    198
        fn check_email(&self, email: &str) -> bool {
    199
            #[allow(clippy::manual_split_once)]
    200
            // XXX(rust-1.52): use `email.split_once('@').map(|t| t.1)`
  • git-smash 0.1.0/src/main.rs
    348
    // TODO: remove once stabilized
    349
    #[allow(unknown_lints, clippy::manual_split_once)]
    350
    fn select_target(line: &[u8]) -> Result<String> {
  • ntex-prost-build 0.11.5/src/path.rs
    124
        std::iter::successors(Some(fq_path), |path| {
    125
            #[allow(unknown_lints, clippy::manual_split_once)]
    126
            path.rsplitn(2, '.').nth(1).filter(|path| !path.is_empty())
    136
        std::iter::successors(Some(fq_path), |path| {
    137
            #[allow(unknown_lints, clippy::manual_split_once)]
    138
            path.splitn(2, '.').nth(1).filter(|path| !path.is_empty())
  • prost-build 0.11.6/src/path.rs
    120
        std::iter::successors(Some(fq_path), |path| {
    121
            #[allow(unknown_lints, clippy::manual_split_once)]
    122
            path.rsplitn(2, '.').nth(1).filter(|path| !path.is_empty())
    132
        std::iter::successors(Some(fq_path), |path| {
    133
            #[allow(unknown_lints, clippy::manual_split_once)]
    134
            path.splitn(2, '.').nth(1).filter(|path| !path.is_empty())
  • prost-msg-build 0.1.6/src/path.rs
    120
        std::iter::successors(Some(fq_path), |path| {
    121
            #[allow(unknown_lints, clippy::manual_split_once)]
    122
            path.rsplitn(2, '.').nth(1).filter(|path| !path.is_empty())
    132
        std::iter::successors(Some(fq_path), |path| {
    133
            #[allow(unknown_lints, clippy::manual_split_once)]
    134
            path.splitn(2, '.').nth(1).filter(|path| !path.is_empty())
  • prs-lib 0.5.0/src/util/git.rs
    119
    /// reliable.
    120
    #[allow(clippy::manual_split_once, clippy::needless_splitn)]
    121
    fn ssh_uri_host(mut uri: &str) -> Option<&str> {
  • sys-locale 0.2.3/src/unix.rs
    40
        // TODO: Once we bump MSRV >= 1.52, remove this allow and clean up
    41
        #[allow(clippy::manual_split_once)]
    42
        #[allow(clippy::needless_splitn)]
  • tectonic 0.12.0/src/driver.rs
    1700
        /// Use the TeX engine to generate a format file.
    1701
        #[allow(clippy::manual_split_once)] // requires Rust 1.52 (note that we don't actually define our MSRV)
    1702
        fn make_format_pass(&mut self, status: &mut dyn StatusBackend) -> Result<i32> {
  • tectonic 0.12.0/src/io/format_cache.rs
    42
        /// produces a path that may or may not exist.
    43
        #[allow(clippy::manual_split_once)] // requires Rust 1.52 (note that we don't actually define our MSRV)
    44
        fn path_for_format(&mut self, name: &str) -> Result<PathBuf> {
  • zeptohttpc 0.5.1/src/body_reader.rs
    118
        if let Some(type_) = headers.get(CONTENT_TYPE) {
    119
            #[allow(clippy::manual_split_once)]
    120
            if let Some(charset) = type_.to_str()?.splitn(2, "charset=").nth(1) {