chore: Bump Rust version to 1.80 (#15186)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-07-25 22:48:42 +02:00 committed by GitHub
parent f291677d40
commit 0d5de88c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 43 additions and 67 deletions

View file

@ -404,7 +404,12 @@ mod tests {
#[test]
fn test_match_multibyte_path_entries() {
let paths = vec!["aαbβ/cγ", "αβγδ/bcde", "c1⃣2⃣3⃣/d4⃣5⃣6⃣/e7⃣8⃣9⃣/f", "/d/🆒/h"];
let paths = vec![
"aαbβ/cγ",
"αβγδ/bcde",
"c1⃣2⃣3⃣/d4⃣5⃣6⃣/e7⃣8⃣9⃣/f",
"/d/🆒/h",
];
assert_eq!("1".len(), 7);
assert_eq!(
match_single_path_query("bcd", false, &paths),

View file

@ -120,7 +120,7 @@ pub fn match_fixed_path_set(
worktree_id,
positions: Vec::new(),
path: Arc::from(candidate.path),
path_prefix: Arc::from(""),
path_prefix: Arc::default(),
distance_to_relative_ancestor: usize::MAX,
},
);