Update `help` function signature

pull/997/head
Omnikar 3 years ago
parent 46d9f49cf9
commit 6f3930ca73
No known key found for this signature in database
GPG Key ID: 7DE6694CDA7885ED

@ -2643,7 +2643,7 @@ pub mod cmd {
fn help(
cx: &mut compositor::Context,
args: &[&str],
args: &[Cow<str>],
_event: PromptEvent,
) -> anyhow::Result<()> {
if args.is_empty() {
@ -2656,7 +2656,7 @@ pub mod cmd {
.iter()
.any(|command| command.name() == args[0])
{
args[0]
&args[0]
} else {
let _keys = args
.iter()

Loading…
Cancel
Save