about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-11-08 12:15:26 -0500
committerGitHub <noreply@github.com>2018-11-08 12:15:26 -0500
commit56acb2a00180c1e041e03e48c1c1818c305e13c6 (patch)
treefcbb9265311cd733b8c049e2b2f6226bd302bdb8
parentfa444be81d9acf9d99adcbc930da144e89480515 (diff)
downloadrust-56acb2a00180c1e041e03e48c1c1818c305e13c6.tar.gz
rust-56acb2a00180c1e041e03e48c1c1818c305e13c6.zip
Fix typo in comment
Co-Authored-By: Aaron1011 <aa1ronham@gmail.com>
-rw-r--r--src/librustc/traits/auto_trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/traits/auto_trait.rs b/src/librustc/traits/auto_trait.rs
index e5d7b5d5e94..2087ced2531 100644
--- a/src/librustc/traits/auto_trait.rs
+++ b/src/librustc/traits/auto_trait.rs
@@ -339,7 +339,7 @@ impl<'a, 'tcx> AutoTraitFinder<'a, 'tcx> {
             match &result {
                 &Ok(Some(ref vtable)) => {
                     // If we see an explicit negative impl (e.g. 'impl !Send for MyStruct'),
-                    // we immediately bail out, since it's impossible for us to continue'
+                    // we immediately bail out, since it's impossible for us to continue.
                     match vtable {
                         Vtable::VtableImpl(VtableImplData { impl_def_id, .. }) => {
                             // Blame tidy for the weird bracket placement