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() {
261
261
}
262
262
```
263
263
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 .
265
265
266
266
## Safety Tags are a Part of an Unsafe Function
267
267
@@ -289,7 +289,7 @@ NOTE:
289
289
* ` requires ` or ` checked ` can be specified multiple times, and they will be merged together.
290
290
* Duplicate tags in ` requires ` will trigger errors.
291
291
* 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
293
293
unsafe functions won't affect with each other.
294
294
295
295
## Auto Generate Safety Docs from Tags
You can’t perform that action at this time.
0 commit comments