Switch to using AsRef<str> to make compare_property_quoted_string generic.
This commit is contained in:
@@ -6,7 +6,6 @@ use std::collections::HashSet;
|
||||
use super::compare_field::compare_identity;
|
||||
use super::compare_field::compare_property_always_nil;
|
||||
use super::compare_field::compare_property_quoted_string;
|
||||
use super::compare_field::compare_property_quoted_string_owned;
|
||||
use super::compare_field::compare_property_unquoted_atom;
|
||||
use super::elisp_fact::ElispFact;
|
||||
use super::elisp_fact::GetElispFact;
|
||||
@@ -2786,7 +2785,7 @@ fn compare_regular_link<'b, 's>(
|
||||
(
|
||||
EmacsField::Required(":path"),
|
||||
|r| Some(r.get_path()),
|
||||
compare_property_quoted_string_owned
|
||||
compare_property_quoted_string
|
||||
),
|
||||
(
|
||||
EmacsField::Required(":format"),
|
||||
@@ -2796,7 +2795,7 @@ fn compare_regular_link<'b, 's>(
|
||||
(
|
||||
EmacsField::Required(":raw-link"),
|
||||
|r| Some(r.get_raw_link()),
|
||||
compare_property_quoted_string_owned
|
||||
compare_property_quoted_string
|
||||
),
|
||||
(
|
||||
EmacsField::Required(":application"),
|
||||
@@ -2806,7 +2805,7 @@ fn compare_regular_link<'b, 's>(
|
||||
(
|
||||
EmacsField::Required(":search-option"),
|
||||
|r| r.get_search_option(),
|
||||
compare_property_quoted_string_owned
|
||||
compare_property_quoted_string
|
||||
)
|
||||
)? {
|
||||
this_status = new_status;
|
||||
|
||||
Reference in New Issue
Block a user