Fixed typo

This commit is contained in:
Syrus 2019-11-21 18:55:38 -08:00
parent 9a146c57fc
commit 27b6acdb16

View File

@ -230,7 +230,7 @@ pub fn default_compiler() -> impl Compiler {
#[cfg(all(feature = "default-backend-singlepass", not(feature = "docs")))] #[cfg(all(feature = "default-backend-singlepass", not(feature = "docs")))]
use wasmer_singlepass_backend::SinglePassCompiler as DefaultCompiler; use wasmer_singlepass_backend::SinglePassCompiler as DefaultCompiler;
#[cfg(any(feature = "default-backend-singlepass", feature = "docs"))] #[cfg(any(feature = "default-backend-cranelift", feature = "docs"))]
use wasmer_clif_backend::CraneliftCompiler as DefaultCompiler; use wasmer_clif_backend::CraneliftCompiler as DefaultCompiler;
DefaultCompiler::new() DefaultCompiler::new()