mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:43 +00:00
Rename Autofix
to Fix
(#7657)
**Summary** Mostly mechanical symbol rename and search-and-replace, with small changes to the markdown docs to read better
This commit is contained in:
parent
8028de8956
commit
1e173f7909
231 changed files with 943 additions and 960 deletions
|
@ -59,7 +59,7 @@ pub(crate) fn violation(violation: &ItemStruct) -> Result<TokenStream> {
|
|||
|
||||
Self {
|
||||
body: Violation::message(&value),
|
||||
suggestion: Violation::autofix_title(&value),
|
||||
suggestion: Violation::fix_title(&value),
|
||||
name: stringify!(#ident).to_string(),
|
||||
}
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ pub(crate) fn violation(violation: &ItemStruct) -> Result<TokenStream> {
|
|||
|
||||
Self {
|
||||
body: Violation::message(&value),
|
||||
suggestion: Violation::autofix_title(&value),
|
||||
suggestion: Violation::fix_title(&value),
|
||||
name: stringify!(#ident).to_string(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue