We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dcf94e commit ae3b150Copy full SHA for ae3b150
1 file changed
library/std/src/keyword_docs.rs
@@ -2053,7 +2053,7 @@ mod type_keyword {}
2053
/// old editions, treated like an unsafe block, which means that this use of `unsafe` both declares
2054
/// the existence of a contract to call the current function, and declares that the contracts of the
2055
/// unsafe operations inside this function are being upheld. The `unsafe_op_in_unsafe_fn` lint can
2056
-/// be enabled to change that and make `unsafe fn` only play the former rule. That lint is enabled
+/// be enabled to change that and make `unsafe fn` only play the former role. That lint is enabled
2057
/// by default since edition 2024.
2058
///
2059
/// # Unsafe abilities
0 commit comments