Skip to content

Commit 9420532

Browse files
authored
Merge pull request #339 from dtolnay/triviality
Tweak wording of the triviality requirement
2 parents 2c4b35f + b8543bd commit 9420532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extern_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ pub unsafe trait ExternType {
123123
/// [move constructor is trivial]: https://en.cppreference.com/w/cpp/types/is_move_constructible
124124
///
125125
/// If you believe your C++ type reflected by this ExternType impl is indeed
126-
/// trivial, you can specify:
126+
/// fine to hold by value and move in Rust, you can specify:
127127
///
128128
/// ```
129129
/// # struct TypeName;

0 commit comments

Comments
 (0)