diff options
Diffstat (limited to 'library/src/math')
| -rw-r--r-- | library/src/math/accent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/accent.rs b/library/src/math/accent.rs index 4a12f5c5..27397911 100644 --- a/library/src/math/accent.rs +++ b/library/src/math/accent.rs @@ -134,6 +134,6 @@ cast! { v: char => Self::new(v), v: Content => match v.to::<TextElem>() { Some(elem) => Value::Str(elem.text().into()).cast()?, - None => Err("expected text")?, + None => bail!("expected text"), }, } |
