docs(#2569): address argus review — add Errors/Panics doc sections + fix ClearTodo keyless-clear semantics
This commit is contained in:
parent
8149dc7633
commit
565b1b90fc
3 changed files with 61 additions and 5 deletions
|
|
@ -106,6 +106,10 @@ pub fn for_agent(coord: &Coordinator, agent: &str) -> Result<Vec<LooseEnd>> {
|
|||
/// This agent's dynamic todos as `LooseEnd::Todo` rows, optionally
|
||||
/// filtered to one `subsystem`. Shared by [`for_agent`] and the
|
||||
/// `ListTodos` handler so the row-mapping lives in one place.
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
/// Propagates the todo-store query failure.
|
||||
pub fn todos_for(
|
||||
coord: &Coordinator,
|
||||
agent: &str,
|
||||
|
|
|
|||
Loading…
Reference in a new issue