Skip to content

Commit 76c2dba

Browse files
authored
Fix some minor Config doc issues (#673)
fix some Config docs
1 parent d8a5021 commit 76c2dba

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

crates/wasmi/src/engine/config.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ impl Config {
183183
///
184184
/// Enabled by default.
185185
///
186-
/// [`multi-value`]: https://github.com/WebAssembly/bulk-memory-operations
186+
/// [`bulk-memory`]: https://github.com/WebAssembly/bulk-memory-operations
187187
pub fn wasm_bulk_memory(&mut self, enable: bool) -> &mut Self {
188188
self.bulk_memory = enable;
189189
self
@@ -195,17 +195,13 @@ impl Config {
195195
///
196196
/// Enabled by default.
197197
///
198-
/// [`multi-value`]: https://github.com/WebAssembly/reference-types
198+
/// [`reference-types`]: https://github.com/WebAssembly/reference-types
199199
pub fn wasm_reference_types(&mut self, enable: bool) -> &mut Self {
200200
self.reference_types = enable;
201201
self
202202
}
203203

204-
/// Enable or disable Wasm instructions on `f32` and `f64` types.
205-
///
206-
/// # Note
207-
///
208-
/// This can be used to disallow floating-point operators and types.
204+
/// Enable or disable Wasm floating point (`f32` and `f64`) instructions and types.
209205
///
210206
/// Enabled by default.
211207
pub fn floats(&mut self, enable: bool) -> &mut Self {

0 commit comments

Comments
 (0)