Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid temporary allocation for PathBuf
PathBuf is to Path what String is to str. This code here only needs a Path since join() allocates a new PathBuf. Thus, this gets rid of a temporary allocation for the original PathBuf. Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information