Skip to main content

apply

Function apply 

Source
pub fn apply(
    files: &[SourceFile],
    project: &ProjectFacts,
) -> Result<Vec<PathBuf>>
Expand description

Apply only deterministic, semantics-preserving fixes.

ยงErrors

Returns an error when a source file cannot be updated or a fix pattern cannot be constructed.