summaryrefslogtreecommitdiff
path: root/dhall/src/syntax/binary
diff options
context:
space:
mode:
authorNadrieril2019-12-22 19:14:29 +0000
committerNadrieril2019-12-22 19:14:29 +0000
commit5536fe26187952a51087416ddd294d1da1ec689d (patch)
tree0a1590eff5e811fd874b02400d5a8a8ee8fba19d /dhall/src/syntax/binary
parenta775c2c1019c1c2c21bf09cf10ca8e3916462bb8 (diff)
rustfmt
Diffstat (limited to 'dhall/src/syntax/binary')
-rw-r--r--dhall/src/syntax/binary/encode.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/dhall/src/syntax/binary/encode.rs b/dhall/src/syntax/binary/encode.rs
index 867fc9c..5e79f2d 100644
--- a/dhall/src/syntax/binary/encode.rs
+++ b/dhall/src/syntax/binary/encode.rs
@@ -164,9 +164,7 @@ where
ProjectionByExpr(x, y) => {
ser_seq!(ser; tag(10), expr(x), vec![expr(y)])
}
- Completion(x, y) => {
- ser_seq!(ser; tag(3), tag(13), expr(x), expr(y))
- }
+ Completion(x, y) => ser_seq!(ser; tag(3), tag(13), expr(x), expr(y)),
Import(import) => serialize_import(ser, import),
Embed(_) => unimplemented!(
"An expression with resolved imports cannot be binary-encoded"