Skip to content

Commit 8d5baa9

Browse files
committed
Fix a typo in comments.
1 parent d382c89 commit 8d5baa9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/ds/rule.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ namespace ds {
105105
/// @note dictionary中每个tuple可以是下面的形式:
106106
/// 1. key, value (视为对所有scope有效);
107107
/// 2. scope, key, value (key和value的scope相同);
108-
/// 2. scope_key, scope_value, key, value。
108+
/// 3. scope_key, scope_value, key, value。
109109
/// @note 如果dictionary格式不正确,则行为未定义。
110110
rule_t* ground(rule_t* rule, rule_t* dictionary, const char* scope, std::byte* check_tail = nullptr);
111111

include/ds/term.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ namespace ds {
142142
/// @note dictionary中每个tuple可以是下面的形式:
143143
/// 1. key, value (视为对所有scope有效);
144144
/// 2. scope, key, value (key和value的scope相同);
145-
/// 2. scope_key, scope_value, key, value。
145+
/// 3. scope_key, scope_value, key, value。
146146
/// @note 如果dictionary格式不正确,则行为未定义。
147147
term_t* ground(term_t* term, term_t* dictionary, const char* scope, std::byte* check_tail = nullptr);
148148

0 commit comments

Comments
 (0)