Skip to content

Commit 07ec09f

Browse files
committed
fix code samples
1 parent 34a7367 commit 07ec09f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.code-samples.meilisearch.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ getting_started_typo_tolerance: |-
400400
}
401401
let typo_tolerance = TypoToleranceSettings {
402402
enabled: Some(true),
403-
disable_on_attributes: Some(vec![]),
404403
disable_on_words: Some(vec!["title".to_string()]),
405404
min_word_size_for_typos: Some(min_word_size_for_typos),
406405
};
@@ -844,7 +843,6 @@ settings_guide_typo_tolerance_1: |-
844843
}
845844
let typo_tolerance = TypoToleranceSettings {
846845
enabled: Some(true),
847-
disable_on_attributes: Some(vec![]),
848846
disable_on_words: Some(vec!["title".to_string()]),
849847
min_word_size_for_typos: Some(min_word_size_for_typos),
850848
};
@@ -860,8 +858,6 @@ settings_guide_typo_tolerance_1: |-
860858
typo_tolerance_guide_1: |-
861859
let typo_tolerance = TypoToleranceSettings {
862860
enabled: Some(false),
863-
disable_on_attributes: Some(vec![]),
864-
disable_on_words: Some(vec![]),
865861
min_word_size_for_typos: Some(MinWordSizeForTypos::default()),
866862
};
867863
@@ -878,7 +874,6 @@ typo_tolerance_guide_2: |-
878874
let typo_tolerance = TypoToleranceSettings {
879875
enabled: Some(true),
880876
disable_on_attributes: Some(vec!["title".to_string()]),
881-
disable_on_words: Some(vec![]),
882877
min_word_size_for_typos: Some(min_word_size_for_typos),
883878
};
884879
@@ -894,7 +889,6 @@ typo_tolerance_guide_3: |-
894889
}
895890
let typo_tolerance = TypoToleranceSettings {
896891
enabled: Some(true),
897-
disable_on_attributes: Some(vec![]),
898892
disable_on_words: Some(vec!["shrek".to_string()]),
899893
min_word_size_for_typos: Some(min_word_size_for_typos),
900894
};
@@ -911,7 +905,6 @@ typo_tolerance_guide_4: |-
911905
};
912906
let typo_tolerance = TypoToleranceSettings {
913907
enabled: Some(true),
914-
disable_on_attributes: Some(vec![]),
915908
disable_on_words: Some(vec!["title".to_string()]),
916909
min_word_size_for_typos: Some(min_word_size_for_typos),
917910
};

0 commit comments

Comments
 (0)