From b093060c2a122ff1433bbb46aa603b99be5ef8f9 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 1 Oct 2015 18:03:34 +0200 Subject: Stop re-exporting AttrStyle's variants and rename them. --- src/libsyntax/parse/lexer/comments.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/parse/lexer') diff --git a/src/libsyntax/parse/lexer/comments.rs b/src/libsyntax/parse/lexer/comments.rs index 9033208fbdb..137996a35ee 100644 --- a/src/libsyntax/parse/lexer/comments.rs +++ b/src/libsyntax/parse/lexer/comments.rs @@ -52,9 +52,9 @@ pub fn is_doc_comment(s: &str) -> bool { pub fn doc_comment_style(comment: &str) -> ast::AttrStyle { assert!(is_doc_comment(comment)); if comment.starts_with("//!") || comment.starts_with("/*!") { - ast::AttrInner + ast::AttrStyle::Inner } else { - ast::AttrOuter + ast::AttrStyle::Outer } } -- cgit 1.4.1-3-g733a5