diff options
author | veetaha <[email protected]> | 2020-05-10 17:17:46 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-05-10 17:17:46 +0100 |
commit | 09c438b47eb035e84bc013a3e78fae9f938e9b85 (patch) | |
tree | 260c93aa2f97d36824e58816fd0dd8c27cbda528 /xtask/src | |
parent | 80c529d1dc57873ad07ed1eb656eafe72c9a7e29 (diff) |
Properly document const impl as per flodiebold
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/ast_src.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index e6182e857..c7cc0c35f 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -683,7 +683,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
683 | /// ``` | 683 | /// ``` |
684 | /// ❰ | 684 | /// ❰ |
685 | /// #[attr] | 685 | /// #[attr] |
686 | /// unsafe impl<T> !Foo for Bar where T: Debug { | 686 | /// unsafe impl<T> const !Foo for Bar where T: Debug { |
687 | /// #![inner_attr] | 687 | /// #![inner_attr] |
688 | /// // ... | 688 | /// // ... |
689 | /// } | 689 | /// } |
@@ -693,7 +693,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
693 | /// [Reference](https://doc.rust-lang.org/reference/items/implementations.html) | 693 | /// [Reference](https://doc.rust-lang.org/reference/items/implementations.html) |
694 | struct ImplDef: TypeParamsOwner, AttrsOwner, DocCommentsOwner { | 694 | struct ImplDef: TypeParamsOwner, AttrsOwner, DocCommentsOwner { |
695 | T![default], | 695 | T![default], |
696 | T![const], // TODO: wat? | 696 | T![const], |
697 | T![unsafe], | 697 | T![unsafe], |
698 | T![impl], | 698 | T![impl], |
699 | T![!], | 699 | T![!], |