Skip to content

Commit df052da

Browse files
committed
Fix typo
1 parent ee9143d commit df052da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ impl Query {
127127
/// * `schema` - Schema of the target index.
128128
/// * `field_name` - Field name to be searched.
129129
/// * `text` - String representation of the query term.
130-
/// * `distance` - (Optional) Edit distance you are going to alow. When not specified, the default is 1.
130+
/// * `distance` - (Optional) Edit distance you are going to allow. When not specified, the default is 1.
131131
/// * `transposition_cost_one` - (Optional) If true, a transposition (swapping) cost will be 1; otherwise it will be 2. When not specified, the default is true.
132132
/// * `prefix` - (Optional) If true, prefix levenshtein distance is applied. When not specified, the default is false.
133133
#[staticmethod]

0 commit comments

Comments
 (0)