interest: update the documentation of matchesData()
The behavior changed in commit 0af48fb51605647ffb2c32209311be19f8982352
[skip ci]
Refs: #5270
Change-Id: I9a46c1960b8c3b5d1b647c661c4a843e47c4de0d
diff --git a/ndn-cxx/interest.hpp b/ndn-cxx/interest.hpp
index 86b7d95..7e4d2d3 100644
--- a/ndn-cxx/interest.hpp
+++ b/ndn-cxx/interest.hpp
@@ -157,8 +157,8 @@
/**
* @brief Check if this Interest can be satisfied by @p data.
*
- * This method considers `Name`, `CanBePrefix`, and `MustBeFresh`. However, `MustBeFresh`
- * evaluation is limited to rejecting Data with zero/omitted `FreshnessPeriod`.
+ * This method considers only `Name` (including `ImplicitSha256Digest` if present) and
+ * `CanBePrefix` to determine whether the Data satisfies the Interest.
*/
[[nodiscard]] bool
matchesData(const Data& data) const;