Skip to content

Commit afc5542

Browse files
Rollup merge of #79474 - jyn514:query-mode, r=Aaron1011
Change comments on types to doc-comments Found while investigating #79459. r? `@Aaron1011`
2 parents fe9a02c + 2d39c09 commit afc5542

File tree

1 file changed

+6
-6
lines changed
  • compiler/rustc_trait_selection/src/traits

1 file changed

+6
-6
lines changed

Diff for: compiler/rustc_trait_selection/src/traits/mod.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ impl Default for SkipLeakCheck {
9797
/// The mode that trait queries run in.
9898
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
9999
pub enum TraitQueryMode {
100-
// Standard/un-canonicalized queries get accurate
101-
// spans etc. passed in and hence can do reasonable
102-
// error reporting on their own.
100+
/// Standard/un-canonicalized queries get accurate
101+
/// spans etc. passed in and hence can do reasonable
102+
/// error reporting on their own.
103103
Standard,
104-
// Canonicalized queries get dummy spans and hence
105-
// must generally propagate errors to
106-
// pre-canonicalization callsites.
104+
/// Canonicalized queries get dummy spans and hence
105+
/// must generally propagate errors to
106+
/// pre-canonicalization callsites.
107107
Canonical,
108108
}
109109

0 commit comments

Comments
 (0)