Skip to content

Commit

Permalink
Making assert parameter spec shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerson2102 committed Nov 13, 2024
1 parent db67baf commit 4aee684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cairo-lang-semantic/src/inline_macros/assert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use cairo_lang_defs::plugin_utils::{
};
use cairo_lang_syntax::node::ast::WrappedArgList;
use cairo_lang_syntax::node::db::SyntaxGroup;
use cairo_lang_syntax::node::{TypedStablePtr, TypedSyntaxNode, ast};
use cairo_lang_syntax::node::{ast, TypedStablePtr, TypedSyntaxNode};
use indoc::{formatdoc, indoc};

/// Macro for assertion.
Expand Down Expand Up @@ -129,7 +129,7 @@ impl InlineMacroExprPlugin for AssertMacro {
# Parameters
- `condition`: A boolean expression to evaluate.
- `format_string` (optional): A string literal for format placeholders.
- `args` (optional): Arguments corresponding to the format placeholders in the `format_string`.
- `args` (optional): Values for placeholders in `format_string`.
# Examples
```cairo
Expand Down

0 comments on commit 4aee684

Please sign in to comment.