Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update compiler/rustc_lint/src/useless_send_constraint.rs
Co-authored-by: est31 <[email protected]>
  • Loading branch information
john-h-k and est31 authored Apr 29, 2023
commit 63b0988aacd68dd629abecf3af32074a70e21119
2 changes: 1 addition & 1 deletion compiler/rustc_lint/src/useless_send_constraint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare_lint! {
///
/// ### Explanation
///
/// References cannot be sent across threads unless thay have a `Sync` bound, so constraining them to `Send` without `Sync` is useless.
/// References cannot be sent across threads unless they have a `Sync` bound, so constraining them to `Send` without `Sync` is useless.
pub USELESS_SEND_CONSTRAINT,
Warn,
"constraining a reference to `Send` without `Sync` is useless, consider removing it"
Expand Down