Formatting Cleanup.

This commit is contained in:
Cutieguwu
2025-03-25 16:14:29 -04:00
parent 7ac434a840
commit 56a576c90e
2 changed files with 5 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ mod gamelog;
use clap::Parser;
use gamelog::LogFile;
use std::{fs::OpenOptions, path::PathBuf};
use std::path::PathBuf;
#[derive(Debug, Parser)]
struct Args {
@@ -23,8 +23,8 @@ fn main() {
let config = Args::parse();
let log: LogFile = LogFile::try_from(
match OpenOptions::new() // Defaults to setting all options false.
.read(true)
match std::fs::OpenOptions::new() // Defaults to setting all options false.
.read(true) // Only need ensure that reading is possible.
.open(&config.logfile_path.as_path())
{
Ok(f) => f,