Enable missing_docs errors in the wasm crate.

This adds `#![deny(missing_docs)]` to the wasm crate, and adds documentation
to several struct and enum fields, as needed.
This commit is contained in:
Dan Gohman
2017-08-28 17:07:28 -07:00
parent ee9989c4b9
commit f905dc914b
3 changed files with 26 additions and 6 deletions

View File

@@ -10,6 +10,8 @@
//!
//! The main function of this module is [`translate_module`](fn.translate_module.html).
#![deny(missing_docs)]
extern crate wasmparser;
extern crate cton_frontend;
extern crate cretonne;