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)`
|
348 |
// TODO: remove once stabilized
|
349 |
#[allow(unknown_lints, clippy::manual_split_once)]
|
350 |
fn select_target(line: &[u8]) -> Result<String> {
|
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())
|
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())
|
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())
|
119 |
/// reliable.
|
120 |
#[allow(clippy::manual_split_once, clippy::needless_splitn)]
|
121 |
fn ssh_uri_host(mut uri: &str) -> Option<&str> {
|
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)]
|
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> {
|
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> {
|
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) {
|