Skip to content

Use cargo format to apply consistent style#30

Closed
PolynomialDivision wants to merge 1 commit into
LibreTranslate:mainfrom
PolynomialDivision:format-files
Closed

Use cargo format to apply consistent style#30
PolynomialDivision wants to merge 1 commit into
LibreTranslate:mainfrom
PolynomialDivision:format-files

Conversation

@PolynomialDivision

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread ltengine/src/models.rs
m
});

pub static MODELS: once_cell::sync::Lazy<HashMap<&'static str, HuggingFace>> =

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a huge fan of linters; while they enforce consistent styles, which is nice, they also change lean expressions (like the initialization of this MODELS list for example) into much worse representations.

@pierotofy pierotofy closed this Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants