Function fuzzyhash::compare::strings [] [src]

pub fn strings(first: String, second: String) -> u32

Compare two fuzzy hashes represented as String's

Arguments

  • first - first fuzzy hash to compare
  • second - second fuzzy hash to compare

Example

use fuzzyhash::compare::strings;
assert_eq!(strings(
           "96:U57GjXnLt9co6pZwvLhJluvrszNgMFwO6MFG8SvkpjTWf:Hj3BeoEcNJ0TspgIG8SvkpjTg".to_string(),
           "96:U57GjXnLt9co6pZwvLhJluvrs1eRTxYARdEallia:Hj3BeoEcNJ0TsI9xYeia3R".to_string()),
    63);