File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -845,13 +845,13 @@ impl<'a> Namespace<'a> {
845845 return false ;
846846 }
847847
848- let transitive = relationship. has_marker ( "transitive" ) ;
848+ let is_transitive = relationship. has_marker ( "transitive" ) ;
849849
850850 // https://project-haystack.dev/doc/docHaystack/Relationships#reciprocalOf
851851 let reciprocal_of = relationship. get_symbol ( "reciprocalOf" ) ;
852852
853- let mut queried_refs = HashSet :: < Ref > :: new ( ) ;
854- let mut ref_tag: Option < Ref > = ref_target. as_ref ( ) . cloned ( ) ;
853+ let mut queried_refs = HashSet :: new ( ) ;
854+ let mut ref_tag = ref_target. as_ref ( ) . cloned ( ) ;
855855 let mut subjects = vec ! [ subject. clone( ) ] ;
856856
857857 ' search: loop {
@@ -896,7 +896,7 @@ impl<'a> Namespace<'a> {
896896 if matches ! ( subject_val, Value :: Ref ( ref val) if Some ( val) == ref_tag. as_ref( ) )
897897 {
898898 has_match = true ;
899- } else if transitive {
899+ } else if is_transitive {
900900 if let Value :: Ref ( subject_val) = subject_val {
901901 if !queried_refs. contains ( & subject_val) {
902902 queried_refs. insert ( subject_val. clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments