diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-03-09 14:39:31 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-03-09 14:39:31 -0400 |
| commit | 17358d1d2152710feb911fe1c02fcaeba3de4b17 (patch) | |
| tree | 8b4a21da602de928bfd23ae164ab1038d0612f7d /src | |
| parent | 4e789e03be332c73836aae018eb83a47bc82d3c9 (diff) | |
| download | rust-17358d1d2152710feb911fe1c02fcaeba3de4b17.tar.gz rust-17358d1d2152710feb911fe1c02fcaeba3de4b17.zip | |
Address nit by @flaper87
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/coherence/orphan.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/coherence/orphan.rs b/src/librustc_typeck/coherence/orphan.rs index 0857203b777..5dfe80cfcb2 100644 --- a/src/librustc_typeck/coherence/orphan.rs +++ b/src/librustc_typeck/coherence/orphan.rs @@ -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 |
