Skip to content

Commit

Permalink
fix: Make commands always return failable "Text?"
Browse files Browse the repository at this point in the history
  • Loading branch information
mks-h committed Jul 28, 2024
1 parent 49b82dd commit efdfd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/command/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct CommandExpr {

impl Typed for CommandExpr {
fn get_type(&self) -> Type {
Type::Text
Type::Failable(Box::new(<Type::Text>));
}
}

Expand Down

0 comments on commit efdfd8e

Please sign in to comment.