Skip to content

Polish follow-up to #148 (rootcause-preformat)#183

Merged
TethysSvensson merged 2 commits into
mainfrom
worktree-preformat-followup
May 21, 2026
Merged

Polish follow-up to #148 (rootcause-preformat)#183
TethysSvensson merged 2 commits into
mainfrom
worktree-preformat-followup

Conversation

@TethysSvensson
Copy link
Copy Markdown
Contributor

Follow-up polish for #148:

  • examples/context_methods.rs: the println! label still said
    "Using context_transform_nested():" even though the code now uses
    clone + context(). Updated the label and the related context_to()
    comment.
  • rootcause-preformat/README.md: license links pointed at
    ../LICENSE-APACHE / ../LICENSE-MIT. Switched to in-crate paths so
    they resolve on crates.io / docs.rs.
  • rootcause-preformat: added unit tests for PreformatRootExt,
    ContextTransformNestedExt (both Report and Result impls), and
    PreformatAttachmentExt (owned / ref / mut).

No external API change; no CHANGELOG entry.

- examples/context_methods.rs: update stale `println!` label that still
  said "Using context_transform_nested():"; the code now uses clone +
  `context()`. Also updated the related `context_to()` comment.
- rootcause-preformat/README.md: license links pointed at
  ../LICENSE-APACHE / ../LICENSE-MIT, which 404 once published. Use
  in-crate paths instead.
- rootcause-preformat: add unit tests for `PreformatRootExt`,
  `ContextTransformNestedExt` (both `Report` and `Result` impls), and
  `PreformatAttachmentExt` (owned/ref/mut).
@TethysSvensson TethysSvensson force-pushed the worktree-preformat-followup branch from e53b92b to 20a00a5 Compare May 21, 2026 15:55
@TethysSvensson TethysSvensson enabled auto-merge May 21, 2026 15:56
@TethysSvensson TethysSvensson added this pull request to the merge queue May 21, 2026
Merged via the queue into main with commit ea024f1 May 21, 2026
14 checks passed
@TethysSvensson TethysSvensson deleted the worktree-preformat-followup branch May 21, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant