Skip to content

Conversation

@Wilfred
Copy link
Contributor

@Wilfred Wilfred commented Nov 28, 2025

Previously there was a mix of 'queued task' and 'deferred task' terminology. The deferred terminology is more helpful (it provides a hint of which tasks belong there), so standardise on that term.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 28, 2025
@lnicola lnicola changed the title Use 'deferred task' terminology consistently minor: Use 'deferred task' terminology consistently Nov 29, 2025
pub(crate) struct TaskQueue {
pub(crate) sender: crossbeam_channel::Sender<QueuedTask>,
pub(crate) receiver: crossbeam_channel::Receiver<QueuedTask>,
/// `DeferredTaskQueue` holds deferred tasks. These are tasks that
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small nit: i'd keep the first line of the doc comment on a separate line that summarizes what this is.

after a new, empty line, add a paragraph describing what's happening.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

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

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants