Move `mod tokio_util` to runtime

refactor: move `mod tokio_util` to runtime (#12332)
Move `mod tokio_util` to runtimerefactormove mod tokio util runtime

Committed by piscisaureus

commit message
refactor: move `mod tokio_util` to runtime (#12332)

This avoids a bunch of duplicated code.

Editor assessment

Move mod tokio_util to runtime states the relocation, and the body supplies the reason - it avoids a bunch of duplicated code - which, though brief, is genuine motivation rather than restatement and tells the reader the consolidation intent. The refactor type fits, the missing scope is tolerable since the module is named, and hygiene is clean with no footers required. Clear and correct, a publishable refactor example. The duplication rationale, brief as it is, gives the move a purpose and separates it from arbitrary reorganization.

Browse categories

More refactor examples · Back to search