8 Commits

Author SHA1 Message Date
nmlgc 06afc1879b Implicitly convert &str to [u8] for compatibility with existing usage code
Thanks to stephaneyfx from the #rust IRC channel for showing me that
this needs separate type parameters on the functions in order to
compile.

The only API change that can't be helped are the `line_junk` and
`char_junk` function pointers in the Differ struct, which now take
`&&str` and `&char` parameters, respectively. This is probably for the
better, since `char_junk` now operates on Unicode scalar values rather
than the single UTF-8 bytes disguised as `&str` that were previously
retrieved via the unsafe `slice_unchecked()` function.
2018-07-05 21:46:43 +02:00
nmlgc 6fd59b0c08 Make SequenceMatcher generic over all slice types 2018-07-03 20:28:11 +02:00
nmlgc a053cc079a Run cargo fmt 2018-06-15 11:54:48 +02:00
Mark Summerfield 07dd9507e5 Made example compile
Elimitated two errors of type `error[E0061]: this function takes 7 parameters but 8 parameters were supplied`
2018-02-04 09:15:02 +00:00
Dima Kudosh 8748d65b8c Update version, changed license 2017-09-09 20:00:38 +03:00
Dima Kudosh e0726b8cb6 Update README.md 2017-02-26 19:47:07 +03:00
Dima Kudosh 5ecc5d633e Update README.md 2016-07-02 21:13:13 +03:00
Dima Kudosh 7e7e22d26d Create README.md 2016-02-29 13:33:40 +03:00