Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change comments on types to doc-comments
  • Loading branch information
jyn514 committed Nov 27, 2020
1 parent 65ecc48 commit 2d39c09
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions compiler/rustc_trait_selection/src/traits/mod.rs
Expand Up @@ -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,
}

Expand Down

0 comments on commit 2d39c09

Please sign in to comment.