We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1cf558 commit a855531Copy full SHA for a855531
node-graph/nodes/text/src/text_context.rs
@@ -21,10 +21,12 @@ fn get_dict_for_language(lang: Language) -> Option<&'static Standard> {
21
match lang {
22
Language::EnglishUS | Language::EnglishGB => EN_US_DICT
23
.get_or_init(|| {
24
- Standard::from_embedded(Language::EnglishUS).map_err(|err| {
25
- log::error!("Failed to load hyphenation dictionary: {err}");
26
- err
27
- }).ok()
+ Standard::from_embedded(Language::EnglishUS)
+ .map_err(|err| {
+ log::error!("Failed to load hyphenation dictionary: {err}");
+ err
28
+ })
29
+ .ok()
30
})
31
.as_ref(),
32
_ => None,
0 commit comments