Add misc doc link fixes and update old comment

This commit is contained in:
Mark McCaskey
2019-12-19 16:22:51 -05:00
parent 0daaa75a70
commit ad8945a555
4 changed files with 10 additions and 10 deletions

View File

@ -105,8 +105,6 @@ pub mod prelude {
/// WebAssembly binary code. This function is useful if it
/// is necessary to a compile a module before it can be instantiated
/// and must be used if you wish to use a different backend from the default.
///
/// [`Module`]: struct.Module.html
pub fn compile_with(
wasm: &[u8],
compiler: &dyn backend::Compiler,

View File

@ -101,11 +101,9 @@ impl ModuleInfo {
/// A compiled WebAssembly module.
///
/// `Module` is returned by the [`compile`] and
/// [`compile_with`] functions.
/// `Module` is returned by the [`compile_with`][] function.
///
/// [`compile`]: fn.compile.html
/// [`compile_with`]: fn.compile_with.html
/// [`compile_with`]: crate::compile_with
pub struct Module {
inner: Arc<ModuleInner>,
}