Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
0f6fc0a9
Unverified
Commit
0f6fc0a9
authored
Feb 05, 2025
by
Niklas Mischkulnig
Committed by
GitHub
Feb 05, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turbopack: remove last stray lint ignore comments (#75519)
parent
5cd0cce2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
code_builder.rs
turbopack/crates/turbopack-core/src/code_builder.rs
+0
-1
mod.rs
turbopack/crates/turbopack-core/src/resolve/mod.rs
+0
-1
No files found.
turbopack/crates/turbopack-core/src/code_builder.rs
View file @
0f6fc0a9
...
@@ -166,7 +166,6 @@ impl GenerateSourceMap for Code {
...
@@ -166,7 +166,6 @@ impl GenerateSourceMap for Code {
let
mut
sections
=
Vec
::
with_capacity
(
self
.mappings
.len
());
let
mut
sections
=
Vec
::
with_capacity
(
self
.mappings
.len
());
let
mut
read
=
self
.code
.read
();
let
mut
read
=
self
.code
.read
();
// ast-grep-ignore: to-resolved-in-loop
for
(
byte_pos
,
map
)
in
&
self
.mappings
{
for
(
byte_pos
,
map
)
in
&
self
.mappings
{
let
mut
want
=
byte_pos
-
last_byte_pos
;
let
mut
want
=
byte_pos
-
last_byte_pos
;
while
want
>
0
{
while
want
>
0
{
...
...
turbopack/crates/turbopack-core/src/resolve/mod.rs
View file @
0f6fc0a9
...
@@ -2282,7 +2282,6 @@ async fn apply_in_package(
...
@@ -2282,7 +2282,6 @@ async fn apply_in_package(
fragment
:
Vc
<
RcStr
>
,
fragment
:
Vc
<
RcStr
>
,
)
->
Result
<
Option
<
Vc
<
ResolveResult
>>>
{
)
->
Result
<
Option
<
Vc
<
ResolveResult
>>>
{
// Check alias field for module aliases first
// Check alias field for module aliases first
// ast-grep-ignore: to-resolved-in-loop
for
in_package
in
options_value
.in_package
.iter
()
{
for
in_package
in
options_value
.in_package
.iter
()
{
// resolve_module_request is called when importing a node
// resolve_module_request is called when importing a node
// module, not a PackageInternal one, so the imports field
// module, not a PackageInternal one, so the imports field
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment