johannhof / difference.rs

Rust text diffing and assertion library
https://docs.rs/difference
MIT License
242 stars 33 forks source link

Adds example and a testable docstring for assert_diff #36

Open petr-tik opened 5 years ago

petr-tik commented 5 years ago

Runs rustfmt on the lib.rs

Closes #35

petr-tik commented 5 years ago

Johann - this is an awesome library that makes it easier to test the equality of 2 strings! Thanks for your hard work.

I find rust macros v powerful, but am not that proficient with them. I find it useful to have documentation and examples of macros.

I hope this addition helps other users find examples of the convenient macro that you added.