Merge #5506
5506: Rename modules r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
243b997df4
@ -2,9 +2,9 @@
|
||||
|
||||
mod generated;
|
||||
mod traits;
|
||||
mod tokens;
|
||||
mod extensions;
|
||||
mod expr_extensions;
|
||||
mod token_ext;
|
||||
mod node_ext;
|
||||
mod expr_ext;
|
||||
pub mod edit;
|
||||
pub mod make;
|
||||
|
||||
@ -16,13 +16,13 @@
|
||||
};
|
||||
|
||||
pub use self::{
|
||||
expr_extensions::{ArrayExprKind, BinOp, Effect, ElseBranch, LiteralKind, PrefixOp, RangeOp},
|
||||
extensions::{
|
||||
expr_ext::{ArrayExprKind, BinOp, Effect, ElseBranch, LiteralKind, PrefixOp, RangeOp},
|
||||
generated::{nodes::*, tokens::*},
|
||||
node_ext::{
|
||||
AttrKind, FieldKind, NameOrNameRef, PathSegmentKind, SelfParamKind, SlicePatComponents,
|
||||
StructKind, TypeBoundKind, VisibilityKind,
|
||||
},
|
||||
generated::{nodes::*, tokens::*},
|
||||
tokens::*,
|
||||
token_ext::*,
|
||||
traits::*,
|
||||
};
|
||||
|
||||
|
@ -5,11 +5,12 @@
|
||||
convert::{TryFrom, TryInto},
|
||||
};
|
||||
|
||||
use rustc_lexer::unescape::{unescape_literal, Mode};
|
||||
|
||||
use crate::{
|
||||
ast::{AstToken, Comment, RawString, String, Whitespace},
|
||||
TextRange, TextSize,
|
||||
};
|
||||
use rustc_lexer::unescape::{unescape_literal, Mode};
|
||||
|
||||
impl Comment {
|
||||
pub fn kind(&self) -> CommentKind {
|
Loading…
Reference in New Issue
Block a user