diff --git a/cranelift/src/clif-util.rs b/cranelift/src/clif-util.rs index 5d5ca2b5d4..7f5d521f41 100755 --- a/cranelift/src/clif-util.rs +++ b/cranelift/src/clif-util.rs @@ -128,7 +128,7 @@ fn get_vec(argument_vec: Option) -> Vec { fn add_wasm_or_compile<'a>(cmd: &str) -> clap::App<'a, 'a> { let about_str = match cmd { - "wasm" => "Compiles Cranelift IR into target language", + "wasm" => "Compiles Wasm binary/text into Cranelift IR and then into target language", "compile" => "Compiles Cranelift IR into target language", _ => panic!("Invalid command"), }; diff --git a/cranelift/src/wasm.rs b/cranelift/src/wasm.rs index 3eeddf5241..9e22279751 100644 --- a/cranelift/src/wasm.rs +++ b/cranelift/src/wasm.rs @@ -1,7 +1,7 @@ //! CLI tool to use the functions provided by the [cranelift-wasm](../cranelift_wasm/index.html) //! crate. //! -//! Reads Wasm binary files, translates the functions' code to Cranelift IR. +//! Reads Wasm binary/text files, translates the functions' code to Cranelift IR. #![cfg_attr( feature = "cargo-clippy", allow(too_many_arguments, cyclomatic_complexity)