diff options
author | bnewbold <bnewbold@robocracy.org> | 2017-01-14 19:37:09 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2017-01-14 19:52:56 -0800 |
commit | a71465e935a178478d269e828550b7e3fc475fab (patch) | |
tree | 62e501dea9e40d9cd50dfc35753654b4c1e0e40e /src/transpile_js.rs | |
parent | 11569fdec123e9c7aeaf38d8a122842c4c758fdf (diff) | |
download | modelthing-a71465e935a178478d269e828550b7e3fc475fab.tar.gz modelthing-a71465e935a178478d269e828550b7e3fc475fab.zip |
basic LaTeX transpiling
Diffstat (limited to 'src/transpile_js.rs')
-rw-r--r-- | src/transpile_js.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transpile_js.rs b/src/transpile_js.rs index 269e900..4150b12 100644 --- a/src/transpile_js.rs +++ b/src/transpile_js.rs @@ -57,7 +57,7 @@ impl TranspileJS for Expr { BinExpr(op, ref l, ref r) => { Ok(format!("({} {:?} {})", try!(l.repr_js()), op, try!(r.repr_js()))) } - Array(_) => bail!("Array unimplemented"), + Array(_) => unimplemented!(), } } } |