about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2025-03-18 13:59:53 +0000
committerGitHub <noreply@github.com>2025-03-18 13:59:53 +0000
commita422d9e68c4b4504da213beb7baff0cb93b66d15 (patch)
tree326a6d97b7855820e62ccb89c322e6e84c82c7d0 /compiler/rustc_pattern_analysis/src
parentd443f38f73bd35dd9684fa6817985db6d465a9c1 (diff)
parentb23fcb0147d4c0c295cdf59fc092ebc435355081 (diff)
downloadrust-a422d9e68c4b4504da213beb7baff0cb93b66d15.tar.gz
rust-a422d9e68c4b4504da213beb7baff0cb93b66d15.zip
fix: bad indent in doc comments (#14419)
TLDR
```diff
- ///    01234
+ ///     01234
     12345
```

Sometimes, in doc comments, there are 3 spaces + 1 instead of 4 spaces +
1.
To make it coherent with the rest of the clippy codebase, I `fd -t f -X
sed -E -i 's,///\s{4}(\S),/// \1,g'` and manually verified and fixed the
relevant part of code that had bad indentation.

### Example

```rs
/// fn a() {
///    01234
/// }
```
Becomes
```rs
/// fn a() {
///     01234
/// }
```

changelog: none
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions