From fe5ed7b27a3f96a575f7d65faafaac4bea07ce66 Mon Sep 17 00:00:00 2001 From: Heyang Zhou Date: Wed, 5 Feb 2020 00:35:15 +0800 Subject: [PATCH] Improve comment for `memory_bound_check_mode`. Co-Authored-By: nlewycky --- lib/runtime-core/src/backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime-core/src/backend.rs b/lib/runtime-core/src/backend.rs index a069f5117..bc21cdcdd 100644 --- a/lib/runtime-core/src/backend.rs +++ b/lib/runtime-core/src/backend.rs @@ -110,7 +110,7 @@ pub struct CompilerConfig { /// Symbol information generated from emscripten; used for more detailed debug messages pub symbol_map: Option>, - /// Optionally override the automatically determined memory bound check mode. + /// How to make the decision whether to emit bounds checks for memory accesses. pub memory_bound_check_mode: MemoryBoundCheckMode, /// Whether to generate explicit stack checks against a field in `InternalCtx`.