diff options
author | Nadrieril | 2020-01-30 17:09:16 +0000 |
---|---|---|
committer | Nadrieril | 2020-01-30 17:09:16 +0000 |
commit | 5197c26c23edd6c499f8e0f8a239fe4393b2e3d2 (patch) | |
tree | 49c8678bf2e696720cc1dcc91d4f80bdbe031203 /dhall/src/syntax/binary | |
parent | 653cdb44cec4f54697d18f2c4ae9f67bbbc2fb3d (diff) |
Move main API to lib.rs
Diffstat (limited to '')
-rw-r--r-- | dhall/src/syntax/binary/decode.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/syntax/binary/decode.rs b/dhall/src/syntax/binary/decode.rs index c18deb5..52b699c 100644 --- a/dhall/src/syntax/binary/decode.rs +++ b/dhall/src/syntax/binary/decode.rs @@ -3,13 +3,13 @@ use serde_cbor::value::value as cbor; use std::iter::FromIterator; use crate::error::DecodeError; -use crate::semantics::phase::DecodedExpr; use crate::syntax; use crate::syntax::{ Expr, ExprKind, FilePath, FilePrefix, Hash, ImportLocation, ImportMode, Integer, InterpolatedText, Label, Natural, Scheme, Span, UnspannedExpr, URL, V, }; +use crate::DecodedExpr; pub(crate) fn decode(data: &[u8]) -> Result<DecodedExpr, DecodeError> { match serde_cbor::de::from_slice(data) { |