Fix casing of OpenZedUrl
action (#7045)
This PR updates the casing of the `OpenZedUrl` action to match the [Rust naming guidelines](https://rust-lang.github.io/api-guidelines/naming.html). Release Notes: - N/A
This commit is contained in:
parent
0cb8b0e451
commit
372bc427bd
3 changed files with 6 additions and 6 deletions
|
@ -18,7 +18,7 @@ use util::{
|
|||
ResultExt,
|
||||
};
|
||||
use workspace::{ModalView, Workspace};
|
||||
use zed_actions::OpenZedURL;
|
||||
use zed_actions::OpenZedUrl;
|
||||
|
||||
actions!(command_palette, [Toggle]);
|
||||
|
||||
|
@ -236,7 +236,7 @@ impl PickerDelegate for CommandPaletteDelegate {
|
|||
if *RELEASE_CHANNEL == ReleaseChannel::Dev {
|
||||
if parse_zed_link(&query).is_some() {
|
||||
intercept_result = Some(CommandInterceptResult {
|
||||
action: OpenZedURL { url: query.clone() }.boxed_clone(),
|
||||
action: OpenZedUrl { url: query.clone() }.boxed_clone(),
|
||||
string: query.clone(),
|
||||
positions: vec![],
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue