feature: Allow diffing between data types besides strings #37
Labels
lvl-2-medium
Medium-ranking issue
p2-normal
Priority 2: Someone plans to work on this task in the foreseeable future.
t-feature-request
Type: Idea/request of an enhancement towards a library/framework
String
prefix fromStringDiffAlgorithm
,StringDiffOp
, andStringDiffOpKind
At the minimum, types would need to implement
PartialEq
andEq
so we can compare them for equality.With reference to #36, the public API would look (similar-ish) to the following below. However, we need to consider for the case where the type is a string (
str
). In this case, the caller could callas_bytes()
on both of their strings to pass in a&[u8]
.The text was updated successfully, but these errors were encountered: