Skip to content

Commit a91b669

Browse files
authored
Update parse.rs
1 parent 379c9c4 commit a91b669

File tree

1 file changed

+2
-0
lines changed
  • turbopack/crates/turbopack-core/src/resolve

1 file changed

+2
-0
lines changed

turbopack/crates/turbopack-core/src/resolve/parse.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ impl Request {
142142
})
143143
}
144144

145+
/// Internal construction function. Should only be called with normalized patterns, or recursively.
146+
/// Most users should call [Self::parse]` instead.
145147
fn parse_ref(request: Pattern) -> Self {
146148
match request {
147149
Pattern::Dynamic => Request::Dynamic,

0 commit comments

Comments
 (0)