Skip to content

fix: improve Rust quality and expose more things through Adaptors#6

Open
reneca wants to merge 3 commits intomainfrom
improvements
Open

fix: improve Rust quality and expose more things through Adaptors#6
reneca wants to merge 3 commits intomainfrom
improvements

Conversation

@reneca
Copy link
Contributor

@reneca reneca commented Mar 15, 2026

No description provided.

Signed-off-by: Jeremy HERGAULT <jeremy@hergault.fr>
@reneca reneca requested review from Timmy80 and oschijns March 15, 2026 16:14
@reneca reneca self-assigned this Mar 15, 2026
@reneca reneca added the enhancement New feature or request label Mar 15, 2026
reneca added 2 commits March 17, 2026 10:19
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
Signed-off-by: Jeremy HERGAULT <jeremy.hergault@worldline.com>
@oschijns
Copy link
Collaborator

New suggestion:
add a file rustfmt.toml or .rustfmt.toml with the following content

max_width = 140

And reformat the whole project

cargo fmt

Some expressions will no longer be split over multiple lines which it will make them easier to read.

@reneca
Copy link
Contributor Author

reneca commented Mar 21, 2026

I’m not sure if a 140-character line width is ideal, especially on smaller screens where it might make reading more difficult.
However, what do you think about using use_small_heuristics = "Max" ?

It compresses many lines (without increasing the max width) and still feels quite clear to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants