From 8fcc115fe22bbef326f7bdca7d29026e97a896b1 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 19 Jun 2024 07:53:39 +0000 Subject: refactor: remove long file headers There's a LICENSE file anyway. --- src/html.rs | 17 ----------------- src/main.rs | 17 ----------------- src/response.rs | 17 ----------------- src/url.rs | 17 ----------------- 4 files changed, 68 deletions(-) (limited to 'src') diff --git a/src/html.rs b/src/html.rs index ae7dc41..2574d8b 100644 --- a/src/html.rs +++ b/src/html.rs @@ -1,20 +1,3 @@ -// This file is part of September . -// -// 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-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use {germ::ast::Node, std::env::var, url::Url}; fn link_from_host_href(url: &Url, href: &str) -> Option { diff --git a/src/main.rs b/src/main.rs index c56c9e0..fd24088 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,20 +1,3 @@ -// This file is part of September . -// -// 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-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - #![deny( warnings, nonstandard_style, diff --git a/src/response.rs b/src/response.rs index 3521e99..329d7b2 100644 --- a/src/response.rs +++ b/src/response.rs @@ -1,20 +1,3 @@ -// This file is part of September . -// -// 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-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use { crate::url::from_path as url_from_path, actix_web::{Error, HttpResponse}, diff --git a/src/url.rs b/src/url.rs index 1784be6..6ad7228 100644 --- a/src/url.rs +++ b/src/url.rs @@ -1,20 +1,3 @@ -// This file is part of September . -// -// 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-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use url::Url; pub fn from_path( -- cgit v1.2.3