From 244308374c94fc6020d8c1f9e0b01a3875d81206 Mon Sep 17 00:00:00 2001 From: Lachlan Sneff Date: Thu, 21 Feb 2019 15:27:20 -0800 Subject: [PATCH] Fix formatting --- lib/runtime-core/src/cache.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/runtime-core/src/cache.rs b/lib/runtime-core/src/cache.rs index 2e9b29250..a58cc05f1 100644 --- a/lib/runtime-core/src/cache.rs +++ b/lib/runtime-core/src/cache.rs @@ -36,17 +36,17 @@ impl From for Error { } /// The hash of a wasm module. -/// +/// /// Used as a key when loading and storing modules in a [`Cache`]. -/// +/// /// [`Cache`]: trait.Cache.html #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] pub struct WasmHash([u8; 32]); impl WasmHash { /// Hash a wasm module. - /// - /// # Note: + /// + /// # Note: /// This does no verification that the supplied data /// is, in fact, a wasm module. pub fn generate(wasm: &[u8]) -> Self { @@ -202,7 +202,7 @@ impl SerializedCache { } /// A generic cache for storing and loading compiled wasm modules. -/// +/// /// The `wasmer-runtime` supplies a naive `FileSystemCache` api. pub trait Cache { type LoadError;