Skip to content

Commit

Permalink
Fix doc test and clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Jan 24, 2024
1 parent 2240841 commit 0348944
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/builtins/register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::serenity_prelude as serenity;
/// let commands = &ctx.framework().options().commands;
/// let create_commands = poise::builtins::create_application_commands(commands);
///
/// serenity::Command::set_global_commands(ctx, &create_commands).await?;
/// serenity::Command::set_global_commands(ctx.http(), &create_commands).await?;
/// # Ok(()) }
/// ```
pub fn create_application_commands<U, E>(
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,6 @@ pub use {async_trait::async_trait, futures_util};
pub mod serenity_prelude {
pub use serenity::all::*;
}
use serenity_prelude as serenity; // private alias for crate root docs intradoc-links

/// Shorthand for a wrapped async future with a lifetime, used by many parts of this framework.
///
Expand Down

0 comments on commit 0348944

Please sign in to comment.