chore: Clippy fixes
This commit is contained in:
parent
25c305f473
commit
8a561fcd3a
2 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,6 @@ impl Context<'_> {
|
|||
/// self.bail_restricted()?;
|
||||
/// // actual command impl
|
||||
/// ```
|
||||
#[must_use]
|
||||
pub(crate) fn bail_restricted(&self) -> Result {
|
||||
if self.source.allows_restricted() {
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue