Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-loader/src/grammar.rs')
| -rw-r--r-- | helix-loader/src/grammar.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-loader/src/grammar.rs b/helix-loader/src/grammar.rs index a90ee524..ca2e8ca3 100644 --- a/helix-loader/src/grammar.rs +++ b/helix-loader/src/grammar.rs @@ -537,7 +537,7 @@ fn build_tree_sitter_library( )); } command.arg(&object_file); - _path_guard = TempPath::from_path(object_file); + _path_guard = TempPath::try_from_path(object_file).unwrap(); } } @@ -594,7 +594,7 @@ fn build_tree_sitter_library( } command.arg(&object_file); - _path_guard = TempPath::from_path(object_file); + _path_guard = TempPath::try_from_path(object_file).unwrap(); } } command.arg("-xc").arg("-std=c11").arg(parser_path); |