From 8609e7ed2cedf28aa655e5b3f15f130558dd8d4c Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 17 Jun 2024 06:44:09 -0700 Subject: refactor: remove file header --- src/modules/stocks.rs | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) (limited to 'src/modules/stocks.rs') diff --git a/src/modules/stocks.rs b/src/modules/stocks.rs index 59a482a..0de8a58 100644 --- a/src/modules/stocks.rs +++ b/src/modules/stocks.rs @@ -1,39 +1,9 @@ -// This file is part of Locus . -// Copyright (C) 2022-2022 Fuwn -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, version 3. -// -// This program is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// -// Copyright (C) 2022-2022 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use { crate::{response::success, route::track_mount}, serde::Deserialize, }; -// static REFERRALS: LazyLock> = LazyLock::new(|| { -// serde_json::from_str(include_str!( -// "../../content/json/stock_market_referrals.json" -// )) -// .unwrap() -// }); - -// #[derive(Deserialize)] -// struct Referral { -// name: String, -// description: String, -// url: String, -// } + #[derive(Deserialize, Debug)] struct Quote { -- cgit v1.2.3