Skip to content

Fix Rustdoc comment placement for FairnessConfig.max_high_before_low field #149

@coderabbitai

Description

@coderabbitai

Description

The documentation comment for the max_high_before_low field in the FairnessConfig struct needs to be restructured. Currently, the explanation about zero value behaviour is placed as a separate comment between the field and the next field, which is not the correct Rustdoc format.

Current Issue

The documentation explaining that "A zero value disables the counter and relies solely on time_slice for fairness, preserving strict high-priority ordering otherwise" should be merged into the doc comment for the max_high_before_low field.

Expected Fix

Move the zero value explanation directly under the max_high_before_low field's doc comment to correctly associate it with that field.

References

File Location

src/connection.rs lines 21-32

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions