var searchIndex = {}; searchIndex["difference"] = {"doc":"Functions to find the difference between to texts (strings).\nUsage\n----------","items":[[4,"Difference","difference","Defines the contents of a changeset\nChangesets will be delivered in order of appearance in the original string\nSequences of the same kind will be grouped into one Difference",null,null],[13,"Same","","Sequences that are the same",0,null],[13,"Add","","Sequences that are an addition (don't appear in the first string)",0,null],[13,"Rem","","Sequences that are a removal (don't appear in the second string)",0,null],[5,"diff","","Calculates the edit distance and the changeset for two given strings.\nThe first string is assumed to be the "original", the second to be an\nedited version of the first. The third parameter specifies how to split\nthe input strings, leading to a more or less exact comparison.",null,null],[5,"assert_diff","","Assert the difference between two strings. Works like diff, but takes\na fourth parameter that is the expected edit distance (e.g. 0 if you want to\ntest for equality).",null,{"inputs":[{"name":"str"},{"name":"str"},{"name":"str"},{"name":"i32"}],"output":null}],[5,"print_diff","","Prints a colorful visual representation of the diff.\nThis is just a convenience function for those who want quick results.",null,{"inputs":[{"name":"str"},{"name":"str"},{"name":"str"}],"output":null}],[11,"fmt","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null]],"paths":[[4,"Difference"]]}; initSearch(searchIndex);