pub fn apply_edit( content: &str, edit: &EditSpec, ) -> Result<ApplyResult, ToolError>
Apply a single edit spec to content. Returns either the new content + counts, or a structured ToolError.
content