From 09c438b47eb035e84bc013a3e78fae9f938e9b85 Mon Sep 17 00:00:00 2001 From: veetaha Date: Sun, 10 May 2020 19:17:46 +0300 Subject: Properly document const impl as per flodiebold --- crates/ra_syntax/src/ast/generated/nodes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_syntax/src/ast/generated/nodes.rs') diff --git a/crates/ra_syntax/src/ast/generated/nodes.rs b/crates/ra_syntax/src/ast/generated/nodes.rs index 7de20bff7..c0f27a0f7 100644 --- a/crates/ra_syntax/src/ast/generated/nodes.rs +++ b/crates/ra_syntax/src/ast/generated/nodes.rs @@ -506,7 +506,7 @@ impl TypeAliasDef { /// ``` /// ❰ /// #[attr] -/// unsafe impl !Foo for Bar where T: Debug { +/// unsafe impl const !Foo for Bar where T: Debug { /// #![inner_attr] /// // ... /// } @@ -2440,7 +2440,7 @@ impl LifetimeArg { /// Constant value argument that is passed at generic instantiation site. /// /// ``` -/// foo::<❰ u32 ❱, ❰ true ❱ >(); +/// foo::<❰ u32 ❱, ❰ true ❱>(); /// /// bar::<❰ { 2 + 2} ❱>(); /// ``` -- cgit v1.2.3