From d51354494a1dac521173ec174e5bea89adf2a881 Mon Sep 17 00:00:00 2001
From: tabcat <tabcat00@proton.me>
Date: Sat, 24 Aug 2024 23:55:27 +0100
Subject: [PATCH] docs: update intersection jsdoc

---
 src/intersection.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/intersection.ts b/src/intersection.ts
index 3af56cb..cee4e02 100644
--- a/src/intersection.ts
+++ b/src/intersection.ts
@@ -3,8 +3,8 @@ import { pairwiseTraversal } from "./util.js";
 /**
  * Yields the intersection of two ordered sets.
  *
- * @param source - Set from which to remove elements
- * @param target - Set of elements to be removed
+ * @param source - Set from which matched element will be yielded
+ * @param target - Set of elements to check for matches
  * @param comparator - Used to compare two set elements, same as Array.sort parameter
  */
 export function* intersection<T, A extends T>(