33use crate :: text_size:: TextRange ;
44#[ derive( Clone , Debug , PartialEq ) ]
55pub struct ModModule < R = TextRange > {
6- pub range : crate :: ranged :: OptionalRange < R > ,
6+ pub range : OptionalRange < R > ,
77 pub body : Vec < Stmt < R > > ,
88 pub type_ignores : Vec < TypeIgnore < R > > ,
99}
@@ -16,7 +16,7 @@ impl<R> From<ModModule<R>> for Mod<R> {
1616
1717#[ derive( Clone , Debug , PartialEq ) ]
1818pub struct ModInteractive < R = TextRange > {
19- pub range : crate :: ranged :: OptionalRange < R > ,
19+ pub range : OptionalRange < R > ,
2020 pub body : Vec < Stmt < R > > ,
2121}
2222
@@ -28,7 +28,7 @@ impl<R> From<ModInteractive<R>> for Mod<R> {
2828
2929#[ derive( Clone , Debug , PartialEq ) ]
3030pub struct ModExpression < R = TextRange > {
31- pub range : crate :: ranged :: OptionalRange < R > ,
31+ pub range : OptionalRange < R > ,
3232 pub body : Box < Expr < R > > ,
3333}
3434
@@ -40,7 +40,7 @@ impl<R> From<ModExpression<R>> for Mod<R> {
4040
4141#[ derive( Clone , Debug , PartialEq ) ]
4242pub struct ModFunctionType < R = TextRange > {
43- pub range : crate :: ranged :: OptionalRange < R > ,
43+ pub range : OptionalRange < R > ,
4444 pub argtypes : Vec < Expr < R > > ,
4545 pub returns : Box < Expr < R > > ,
4646}
@@ -957,7 +957,7 @@ pub struct Comprehension<R = TextRange> {
957957 pub iter : Expr < R > ,
958958 pub ifs : Vec < Expr < R > > ,
959959 pub is_async : bool ,
960- pub range : crate :: ranged :: OptionalRange < R > ,
960+ pub range : OptionalRange < R > ,
961961}
962962
963963#[ derive( Clone , Debug , PartialEq ) ]
@@ -988,7 +988,7 @@ pub struct Arguments<R = TextRange> {
988988 pub kw_defaults : Vec < Expr < R > > ,
989989 pub kwarg : Option < Box < Arg < R > > > ,
990990 pub defaults : Vec < Expr < R > > ,
991- pub range : crate :: ranged :: OptionalRange < R > ,
991+ pub range : OptionalRange < R > ,
992992}
993993
994994#[ derive( Clone , Debug , PartialEq ) ]
@@ -1017,15 +1017,15 @@ pub struct Alias<R = TextRange> {
10171017pub struct Withitem < R = TextRange > {
10181018 pub context_expr : Expr < R > ,
10191019 pub optional_vars : Option < Box < Expr < R > > > ,
1020- pub range : crate :: ranged :: OptionalRange < R > ,
1020+ pub range : OptionalRange < R > ,
10211021}
10221022
10231023#[ derive( Clone , Debug , PartialEq ) ]
10241024pub struct MatchCase < R = TextRange > {
10251025 pub pattern : Pattern < R > ,
10261026 pub guard : Option < Box < Expr < R > > > ,
10271027 pub body : Vec < Stmt < R > > ,
1028- pub range : crate :: ranged :: OptionalRange < R > ,
1028+ pub range : OptionalRange < R > ,
10291029}
10301030
10311031#[ derive( Clone , Debug , PartialEq ) ]
@@ -1144,7 +1144,7 @@ pub enum Pattern<R = TextRange> {
11441144
11451145#[ derive( Clone , Debug , PartialEq ) ]
11461146pub struct TypeIgnoreTypeIgnore < R = TextRange > {
1147- pub range : crate :: ranged :: OptionalRange < R > ,
1147+ pub range : OptionalRange < R > ,
11481148 pub lineno : Int ,
11491149 pub tag : String ,
11501150}
0 commit comments