about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJohn Kugelman <john@kugelman.name>2021-10-10 00:44:34 -0400
committerJohn Kugelman <john@kugelman.name>2021-10-10 00:44:34 -0400
commit169113935f0f0bdedaa94730f3f1eee16e254ff0 (patch)
treef9ca426bb747effc1cc0fcec39835c17478c7e15 /src
parentf086f4707757c679813a3e6cd44e7c502a668394 (diff)
downloadrust-169113935f0f0bdedaa94730f3f1eee16e254ff0.tar.gz
rust-169113935f0f0bdedaa94730f3f1eee16e254ff0.zip
Fix spelling: Cannonical -> Canonical
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/clean/blanket_impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/blanket_impl.rs b/src/librustdoc/clean/blanket_impl.rs
index dd0cbb1b952..843dda324da 100644
--- a/src/librustdoc/clean/blanket_impl.rs
+++ b/src/librustdoc/clean/blanket_impl.rs
@@ -78,7 +78,7 @@ impl<'a, 'tcx> BlanketImplFinder<'a, 'tcx> {
                             );
                             match infcx.evaluate_obligation(&obligation) {
                                 Ok(eval_result) if eval_result.may_apply() => {}
-                                Err(traits::OverflowError::Cannonical) => {}
+                                Err(traits::OverflowError::Canonical) => {}
                                 Err(traits::OverflowError::ErrorReporting) => {}
                                 _ => {
                                     return false;