Skip to content

Commit 9ef12a4

Browse files
committed
simplify wording
1 parent f6dcd5c commit 9ef12a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/keyword_docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2147,7 +2147,7 @@ mod type_keyword {}
21472147
/// (like `use_indexable` does), but the *implementation* of `get_unchecked` has no proof obligation
21482148
/// to contend with. Note that unlike normal `unsafe fn`, an `unsafe fn` in a trait implementation
21492149
/// does not get to just pick an arbitrary safety contract! It *has* to use the safety contract
2150-
/// defined by the trait (or a stronger contract, i.e., weaker preconditions).
2150+
/// defined by the trait (or one with weaker preconditions).
21512151
///
21522152
/// Of course, the implementation may choose to call other unsafe operations, and then it needs an
21532153
/// `unsafe` *block* to indicate it discharged the proof obligations of its callees. For

0 commit comments

Comments
 (0)