Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit 421639c

Browse files
committed
Address code review feedback
1 parent 4574637 commit 421639c

File tree

12 files changed

+382
-491
lines changed

12 files changed

+382
-491
lines changed

ast/src/generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![allow(clippy::derive_partial_eq_without_eq)]
22
use crate::text_size::TextRange;
3-
pub use crate::{builtin::*, text_size::TextSize, ConversionFlag, Node};
3+
pub(crate) use crate::{builtin::*, ConversionFlag, Node};
44
use std::fmt::Debug;
55

66
// This file was originally generated from asdl by a python script, but we now edit it manually

ast/src/ranged.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
use crate::text_size::{TextRange, TextSize};
44

5-
pub use crate::builtin::*;
6-
75
pub trait Ranged {
86
fn range(&self) -> TextRange;
97

parser/src/function.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ use rustc_hash::FxHashSet;
1010
use rustpython_ast::Ranged;
1111

1212
pub(crate) struct ArgumentList {
13-
pub args: Vec<ast::Expr>,
14-
pub keywords: Vec<ast::Keyword>,
13+
pub(crate) args: Vec<ast::Expr>,
14+
pub(crate) keywords: Vec<ast::Keyword>,
1515
}
1616

1717
// Perform validation of function/lambda arguments in a function definition.

0 commit comments

Comments
 (0)