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 --- xtask/src/ast_src.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xtask/src') 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 { /// ``` /// ❰ /// #[attr] - /// unsafe impl !Foo for Bar where T: Debug { + /// unsafe impl const !Foo for Bar where T: Debug { /// #![inner_attr] /// // ... /// } @@ -693,7 +693,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { /// [Reference](https://doc.rust-lang.org/reference/items/implementations.html) struct ImplDef: TypeParamsOwner, AttrsOwner, DocCommentsOwner { T![default], - T![const], // TODO: wat? + T![const], T![unsafe], T![impl], T![!], -- cgit v1.2.3