Unified · Split
| @@ -88,7 +88,7 @@ impl Match { · 87 unmodified lines | ||
| 88 | 88 | let home = project |
| 89 | 89 | .update(&mut cx, |project, cx| { |
| 90 | 90 | project.resolve_abs_path( |
| 91 | − &("~/".to_string() + &path.to_string_lossy().to_string()), | |
| 91 | + &("~/".to_string() + &path.to_string_lossy().as_ref()), | |
| 92 | 92 | cx, |
| 93 | 93 | ) |
| 94 | 94 | })? |