dejadoc

Installation
SKILL.md

dejadoc

cargo dejadoc hashes the canonical form of every doctest rustdoc would run and lists the sites sharing one. Exit 1 on any group, 2 on error.

What counts as a copy

Cosmetic differences never separate two bodies, so editing them is not a fix.

  • whitespace, comments, trailing commas, hidden # lines
  • local names, fn shared() {} and fn helper() {} are one doctest
  • use order, literal spelling outside macros
  • fence attributes such as no_run

Different paths, methods, string literals or macro arguments do separate bodies. ignore and non-Rust fences are never counted.

Run

Installs
4
First Seen
14 days ago
dejadoc — lucacappelletti94/cargo-dejadoc