Reduce pub
exposure.
This commit is contained in:
parent
7ebd2bdbf6
commit
95b4c07ef8
8 changed files with 51 additions and 42 deletions
|
@ -20,7 +20,7 @@ use tracing::debug;
|
|||
|
||||
/// Specifies how to parse a path.
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
pub enum PathStyle {
|
||||
pub(super) enum PathStyle {
|
||||
/// In some contexts, notably in expressions, paths with generic arguments are ambiguous
|
||||
/// with something else. For example, in expressions `segment < ....` can be interpreted
|
||||
/// as a comparison and `segment ( ....` can be interpreted as a function call.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue