]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/ty/trait_def.rs
Rollup merge of #107519 - joboet:raw_os_error_ty, r=Amanieu
[rust.git] / compiler / rustc_middle / src / ty / trait_def.rs
index ac79949fca5cc40d7ed5391e8e96557ff459e36d..b38a5fbf20f5b26d17ab4b44b9b678236ec482aa 100644 (file)
@@ -211,7 +211,7 @@ pub fn all_impls(self, def_id: DefId) -> impl Iterator<Item = DefId> + 'tcx {
     }
 }
 
-// Query provider for `trait_impls_of`.
+/// Query provider for `trait_impls_of`.
 pub(super) fn trait_impls_of_provider(tcx: TyCtxt<'_>, trait_id: DefId) -> TraitImpls {
     let mut impls = TraitImpls::default();
 
@@ -255,7 +255,7 @@ pub(super) fn trait_impls_of_provider(tcx: TyCtxt<'_>, trait_id: DefId) -> Trait
     impls
 }
 
-// Query provider for `incoherent_impls`.
+/// Query provider for `incoherent_impls`.
 pub(super) fn incoherent_impls_provider(tcx: TyCtxt<'_>, simp: SimplifiedType) -> &[DefId] {
     let mut impls = Vec::new();