Skip to main content

attach

Function attach 

Source
pub fn attach(result: CommandResult, feature: Option<&str>) -> CommandResult
Expand description

result with its next steps and its code attached; feature is the --feature the command was given, carried to speccoder’s own commands. A code the result already names is kept; otherwise the outcome’s, or the status’s default — every non-ok result leaves with one.