index : livejrnl-rs.git

ascending towards madness

author berrysweet <berrysweet@noreply.codeberg.org> 2023-07-07 21:47:50.0 +00:00:00
committer berrysweet <berrysweet@noreply.codeberg.org> 2023-07-07 21:47:50.0 +00:00:00
commit
30ed09c86200f57db39224725837157f0e4570bc [patch]
tree
59abba59ce525587b371dba3bdbe85b8ecef3f56
parent
a9dbea1205af88459df89eeea12994337cab81ad
download
30ed09c86200f57db39224725837157f0e4570bc.tar.gz

fix: remove unnecessary borrow syntax



Diff

 src/main.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index ee387ef..5c017e4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -44,8 +44,8 @@ fn main() {
			let html = util::templating::render_html(config_data, journal, &template_files);

			let out_dir = std::path::PathBuf::from_str(&args.out_dir).unwrap_or_default();
			let out_file = &out_dir.join("index.html");
			let out_path = &out_file.as_path();
			let out_file = out_dir.join("index.html");
			let out_path = out_file.as_path();

			match std::fs::create_dir_all(&out_dir) {
				Ok(()) => {