Skip unecessary allocations
This commit is contained in:
parent
169b2b5cb8
commit
0a1f3fa78d
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ impl Browser {
|
|||
.map(|c: Vec<_>| -> PathBuf {
|
||||
c.into_iter()
|
||||
.map(|s| strings.resolve(&s))
|
||||
.collect::<Vec<_>>()
|
||||
.collect::<TinyVec<[&str; 8]>>()
|
||||
.join(std::path::MAIN_SEPARATOR_STR)
|
||||
.into()
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue