3Hren / 3Hren/cocaine-http-proxy
Add .rustfmt to unify styling
- Dominant language
- Rust
- Stars
- 5
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
The only problem I discovered is line breaking. I really hate when `rustfmt` does the following change:
```rust
pub fn long_function(&mut self, arg1: Arg1, arg2: Arg2, arg3: T) -> Result
where
T: Display,
E: Error
{
unimplemented!()
}
```
```rust
pub fn long_function(&mut self,
arg1: Arg1,
arg2: Arg2,
arg3: T)
-> Result
where
T: Display,
E: Error
{
unimplemented!()
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the repository's Rust source files and the formatting behavior shown in the issue. Add the requested .rustfmt configuration so long function signatures use the preferred line breaking, then run rustfmt on the project and verify the resulting formatting is consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100