chore: Another round of style lints fixes (#17519)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
cfd43572c1
commit
095a08d9c8
33 changed files with 67 additions and 82 deletions
|
@ -1075,10 +1075,9 @@ fn parse_url_arg(arg: &str, cx: &AppContext) -> Result<String> {
|
|||
if arg.starts_with("file://")
|
||||
|| arg.starts_with("zed-cli://")
|
||||
|| arg.starts_with("ssh://")
|
||||
|| parse_zed_link(arg, cx).is_some()
|
||||
{
|
||||
Ok(arg.into())
|
||||
} else if parse_zed_link(arg, cx).is_some() {
|
||||
Ok(arg.into())
|
||||
} else {
|
||||
Err(anyhow!("error parsing path argument: {}", error))
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@ fn connect_to_cli(
|
|||
}
|
||||
|
||||
pub async fn open_paths_with_positions(
|
||||
path_positions: &Vec<PathWithPosition>,
|
||||
path_positions: &[PathWithPosition],
|
||||
app_state: Arc<AppState>,
|
||||
open_options: workspace::OpenOptions,
|
||||
cx: &mut AsyncAppContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue