diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-11-27 14:17:25 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-11-27 14:17:25 -0500 |
| commit | 2d39c09cc2bdb27036476a2151d00611ad54582a (patch) | |
| tree | cdc3d705a313e61215bc65fa16db0690cdbcdb69 | |
| parent | 65ecc481fac7ceced57d973a580d0a7ccbdcb192 (diff) | |
| download | rust-2d39c09cc2bdb27036476a2151d00611ad54582a.tar.gz rust-2d39c09cc2bdb27036476a2151d00611ad54582a.zip | |
Change comments on types to doc-comments
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/mod.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/mod.rs b/compiler/rustc_trait_selection/src/traits/mod.rs index 2d7df2ddd11..2fb9b3cd5d3 100644 --- a/compiler/rustc_trait_selection/src/traits/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/mod.rs @@ -97,13 +97,13 @@ impl Default for SkipLeakCheck { /// The mode that trait queries run in. #[derive(Copy, Clone, PartialEq, Eq, Debug)] pub enum TraitQueryMode { - // Standard/un-canonicalized queries get accurate - // spans etc. passed in and hence can do reasonable - // error reporting on their own. + /// Standard/un-canonicalized queries get accurate + /// spans etc. passed in and hence can do reasonable + /// error reporting on their own. Standard, - // Canonicalized queries get dummy spans and hence - // must generally propagate errors to - // pre-canonicalization callsites. + /// Canonicalized queries get dummy spans and hence + /// must generally propagate errors to + /// pre-canonicalization callsites. Canonical, } |
