Skip to main content

RefactoringSuggestion

Type Alias RefactoringSuggestion 

Source
pub type RefactoringSuggestion = RefactoringSuggestion;

Aliased Type§

pub struct RefactoringSuggestion {
    pub kind: RefactoringKind,
    pub description: String,
    pub estimated_savings: usize,
}

Fields§

§kind: RefactoringKind

What kind of refactoring is suggested.

§description: String

Human-readable description of the suggestion.

§estimated_savings: usize

Estimated lines that could be eliminated.