diff options
-rw-r--r-- | yt/src/unreachable.rs | 10 | ||||
-rw-r--r-- | yt/src/watch/events/handlers/mod.rs | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/yt/src/unreachable.rs b/yt/src/unreachable.rs index 3db77d5..3ce895c 100644 --- a/yt/src/unreachable.rs +++ b/yt/src/unreachable.rs @@ -1,3 +1,13 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + // This has been taken from: https://gitlab.torproject.org/tpo/core/arti/-/issues/950 // The functions here should be annotated with `#[inline(always)]`. diff --git a/yt/src/watch/events/handlers/mod.rs b/yt/src/watch/events/handlers/mod.rs index eca016a..3215fff 100644 --- a/yt/src/watch/events/handlers/mod.rs +++ b/yt/src/watch/events/handlers/mod.rs @@ -1,3 +1,13 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use std::{env::current_exe, mem}; use crate::{app::App, comments, storage::video_database::setters::set_state_change}; |