Skip to content

Commit

Permalink
Address nit by @flaper87
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Mar 9, 2015
1 parent 4e789e0 commit 17358d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_typeck/coherence/orphan.rs
Expand Up @@ -155,7 +155,7 @@ impl<'cx, 'tcx> OrphanChecker<'cx, 'tcx> {
// We only want to permit structs/enums, but not *all* structs/enums.
// They must be local to the current crate, so that people
// can't do `unsafe impl Send for Rc<SomethingLocal>` or
// `unsafe impl !Send for Box<SomethingLocalAndSend>`.
// `impl !Send for Box<SomethingLocalAndSend>`.
Some(self_def_id) => {
if self_def_id.krate == ast::LOCAL_CRATE {
None
Expand Down

0 comments on commit 17358d1

Please sign in to comment.