Removing things cuasing warnings.

This commit is contained in:
calcu1on 2025-04-05 20:43:10 -04:00
parent 5da8701978
commit 3bbf63132e
2 changed files with 0 additions and 4 deletions

View File

@ -1,8 +1,6 @@
#![cfg_attr(debug_assertions, allow(dead_code, unused_imports))]
mod weather; mod weather;
mod redsox; mod redsox;
mod nerdfont; mod nerdfont;
// use colored::Colorize;
use tabled::{Table, Tabled}; use tabled::{Table, Tabled};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use tabled::settings::{ use tabled::settings::{
@ -19,7 +17,6 @@ struct TableRow {
forecast: String, forecast: String,
} }
#[allow(unreachable_code)]
fn main() { fn main() {
// Get forecast. // Get forecast.
let entire_forecast: Vec<weather::WeatherPeriod> = weather::WeatherOfficeLocation { let entire_forecast: Vec<weather::WeatherPeriod> = weather::WeatherOfficeLocation {

View File

@ -1,6 +1,5 @@
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use serde_alias::serde_alias; use serde_alias::serde_alias;
use std::fs;
// use iso8601; // use iso8601;
const TEAM_ID: i32 = 111; const TEAM_ID: i32 = 111;