Showing the changes to git-pack/src/cache (3 of 100 files). Show all
Unified · Split
| @@ -143,7 +143,7 @@ where · 142 unmodified lines | ||
| 143 | 143 | ( |
| 144 | 144 | Vec::<u8>::with_capacity(4096), |
| 145 | 145 | lock(&object_progress) |
| 146 | − .add_child_with_id(format!("thread {}", thread_index), git_features::progress::UNKNOWN), | |
| 146 | + .add_child_with_id(format!("thread {thread_index}"), git_features::progress::UNKNOWN), | |
| 147 | 147 | new_thread_state(), |
| 148 | 148 | resolve.clone(), |
| 149 | 149 | inspect_object.clone(), |
| @@ -40,7 +40,7 @@ mod memory { · 39 unmodified lines | ||
| 40 | 40 | .with_scale(CustomScale), |
| 41 | 41 | ), |
| 42 | 42 | free_list: Vec::new(), |
| 43 | − debug: git_features::cache::Debug::new(format!("MemoryCappedHashmap({}B)", memory_cap_in_bytes)), | |
| 43 | + debug: git_features::cache::Debug::new(format!("MemoryCappedHashmap({memory_cap_in_bytes}B)")), | |
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | } |
| @@ -113,7 +113,7 @@ mod _static { · 66 unmodified lines | ||
| 113 | 113 | StaticLinkedList { |
| 114 | 114 | inner: Default::default(), |
| 115 | 115 | free_list: Vec::new(), |
| 116 | − debug: git_features::cache::Debug::new(format!("StaticLinkedList<{}>", SIZE)), | |
| 116 | + debug: git_features::cache::Debug::new(format!("StaticLinkedList<{SIZE}>")), | |
| 117 | 117 | } |
| 118 | 118 | } |
| 119 | 119 | } |
| @@ -49,7 +49,7 @@ mod memory { · 48 unmodified lines | ||
| 49 | 49 | .with_scale(CustomScale), |
| 50 | 50 | ), |
| 51 | 51 | free_list: Vec::new(), |
| 52 | − debug: git_features::cache::Debug::new(format!("MemoryCappedObjectHashmap({}B)", memory_cap_in_bytes)), | |
| 52 | + debug: git_features::cache::Debug::new(format!("MemoryCappedObjectHashmap({memory_cap_in_bytes}B)")), | |
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | } |