Skip to content

Commit e467747

Browse files
authored
docs: add the remaining missing doc comment, for the public wasm methods (#23863)
1 parent ae22bcf commit e467747

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vlib/wasm/tests/common.v

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ fn find_wasm_validate() !string {
2424
return error('could not find wasm-validate executable in thirdparty/ as well, try first `v run cmd/tools/install_wabt.vsh`')
2525
}
2626

27+
// validate validates the given wasm code using `wasm-validate` executable.
2728
pub fn validate(code []u8) ! {
2829
println('validating using: ${wasm_validate_exe}')
2930
outfile := os.join_path(os.temp_dir(), 'code_${pid}.wasm')

0 commit comments

Comments
 (0)