File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ unsafe fn delegation() {
261261}
262262```
263263
264- Note that discharing a tag that is not defined will raise a hard error .
264+ Note that discharing a tag that is not defined will raise a warning-by-default lint .
265265
266266## Safety Tags are a Part of an Unsafe Function
267267
@@ -289,7 +289,7 @@ NOTE:
289289* ` requires ` or ` checked ` can be specified multiple times, and they will be merged together.
290290 * Duplicate tags in ` requires ` will trigger errors.
291291 * Duplicate tags in ` checked ` will trigger warning-by-default diagnostics.
292- * the scope of a tag is limited to the defined unsafe function, so identical tag name on different
292+ * the scope of a tag is limited to the defining unsafe function, so identical tag name on different
293293 unsafe functions won't affect with each other.
294294
295295## Auto Generate Safety Docs from Tags
You can’t perform that action at this time.
0 commit comments