Skip to content

Commit cf13398

Browse files
committed
chore: Apply suggestions from code review
1 parent 8fee35a commit cf13398

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/utils/warnings.re

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ let message =
163163
)
164164
| UselessRecordSpread => "this record spread is useless as all of the record's fields are overridden."
165165
| PrintUnsafe(typ) =>
166-
"it looks like you are using print on an unsafe Wasm value here.\nThis is generally unsafe and will cause errors. Use DebugPrint.print"
166+
"it looks like you are using `print` on an unsafe Wasm value here.\nThis is generally unsafe and will cause errors. Use `DebugPrint.print`"
167167
++ typ
168168
++ " from the `runtime/debugPrint` module instead."
169169
| ToStringUnsafe(typ) =>
170-
"it looks like you are using toString on an unsafe Wasm value here.\nThis is generally unsafe and will cause errors. Use DebugPrint.toString"
170+
"it looks like you are using `toString` on an unsafe Wasm value here.\nThis is generally unsafe and will cause errors. Use `DebugPrint.toString`"
171171
++ typ
172172
++ " from the `runtime/debugPrint` module instead.";
173173

0 commit comments

Comments
 (0)