119 |
/// reliable.
|
120 |
#[allow(clippy::manual_split_once, clippy::needless_splitn)]
|
121 |
fn ssh_uri_host(mut uri: &str) -> Option<&str> {
|
41 |
#[allow(clippy::manual_split_once)]
|
42 |
#[allow(clippy::needless_splitn)]
|
43 |
code.splitn(2, '.').next().map(|s| s.replace('_', "-"))
|