Module formatting

Module formatting 

Source
Expand description

Code formatting and auto-correction module

This module provides integration with rustfmt for code formatting validation and automatic correction.

Structs§

FormatResult
Formatting check result
FormatSuggestion
A formatting suggestion for a file

Functions§

apply_rustfmt_config
Apply formatting configuration
auto_format
Auto-format code
check_file_formatting
Check formatting for a specific file
check_formatting
Check code formatting
format_file
Format a specific file
get_format_diff
Get formatting diff without applying changes