Skip to content

rust: run cargo clippy --fix - #1487

Open
second-ed wants to merge 1 commit into
Instagram:mainfrom
second-ed:rust/run_clippy_fix
Open

second-ed wants to merge 1 commit into
Instagram:mainfrom
second-ed:rust/run_clippy_fix

Conversation

@second-ed

Copy link
Copy Markdown

Summary

Ran cargo clippy --fix so that the clippy linting errors would be automatically fixed.

There were 4 imports that were removed from native/libcst/src/nodes/mod.rs:

  • DeflatedAsynchronous as Asynchronous
  • DeflatedFormattedStringText as FormattedStringText
  • DeflatedTemplatedStringText as TemplatedStringText
  • DeflatedImportStar as ImportStar

These changes were reverted before pushing up because it seemed like those are important to be forwarded to the python side of the package

Test Plan

All existing tests pass both rust and python

commands ran:

cargo test 
uv run poe format && uv run poe typecheck && uv run poe test && uv run poe lint; 

test results:

Ran 2161 tests in 154.787s

OK (skipped=14, expected failures=2)

Any changes please let me know

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant