Skip to content

Commit 17358d1

Browse files
committed
Address nit by @flaper87
1 parent 4e789e0 commit 17358d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_typeck/coherence/orphan.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl<'cx, 'tcx> OrphanChecker<'cx, 'tcx> {
155155
// We only want to permit structs/enums, but not *all* structs/enums.
156156
// They must be local to the current crate, so that people
157157
// can't do `unsafe impl Send for Rc<SomethingLocal>` or
158-
// `unsafe impl !Send for Box<SomethingLocalAndSend>`.
158+
// `impl !Send for Box<SomethingLocalAndSend>`.
159159
Some(self_def_id) => {
160160
if self_def_id.krate == ast::LOCAL_CRATE {
161161
None

0 commit comments

Comments
 (0)