@@ -275,25 +275,25 @@ pub enum Res<Id = hir::HirId> {
275275 /// ```
276276 /// struct Bar(Box<Self>);
277277 /// // `Res::SelfTy { trait_: None, alias_of: Some(Bar) }`
278- ///
278+ ///
279279 /// trait Foo {
280280 /// fn foo() -> Box<Self>;
281281 /// // `Res::SelfTy { trait_: Some(Foo), alias_of: None }`
282282 /// }
283- ///
283+ ///
284284 /// impl Bar {
285285 /// fn blah() {
286286 /// let _: Self;
287287 /// // `Res::SelfTy { trait_: None, alias_of: Some(::{impl#0}) }`
288288 /// }
289289 /// }
290- ///
290+ ///
291291 /// impl Foo for Bar {
292292 /// fn foo() -> Box<Self> {
293293 /// // `Res::SelfTy { trait_: Some(Foo), alias_of: Some(::{impl#1}) }`
294294 /// let _: Self;
295295 /// // `Res::SelfTy { trait_: Some(Foo), alias_of: Some(::{impl#1}) }`
296- ///
296+ ///
297297 /// todo!()
298298 /// }
299299 /// }
@@ -307,7 +307,7 @@ pub enum Res<Id = hir::HirId> {
307307 /// any generic parameters to allow the following with `min_const_generics`:
308308 /// ```
309309 /// impl Foo { fn test() -> [u8; std::mem::size_of::<Self>()] { todo!() } }
310- ///
310+ ///
311311 /// struct Bar([u8; baz::<Self>()]);
312312 /// const fn baz<T>() -> usize { 10 }
313313 /// ```
@@ -323,7 +323,7 @@ pub enum Res<Id = hir::HirId> {
323323 /// The trait this `Self` is a generic arg for.
324324 trait_ : Option < DefId > ,
325325 /// The item introducing the `Self` type alias. Can be used in the `type_of` query
326- /// to get the underlying type. Additionally whether the `Self` type is disallowed
326+ /// to get the underlying type. Additionally whether the `Self` type is disallowed
327327 /// from mentioning generics (i.e. when used in an anonymous constant).
328328 alias_to : Option < ( DefId , bool ) > ,
329329 } ,
0 commit comments