Skip to content

docify::embed_diff #20

@kianenigma

Description

@kianenigma
#![doc = docify::embed_diff("file_path.rs", item_1, item_2)]

There must be good diff libs for rust, and the rest is more or less simple, I presume. We read the two excerpts, pass them to the fn diff(a, b), which I presume would return some sort of diff-style string, and use that.

How crazy is this?

cc @shawntabrizi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions