diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 21:01:27 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 21:02:41 +0200 |
commit | d1bcc36b54793bb3e45d5acecf9d8c503e883011 (patch) | |
tree | 9415b3e2ba9193c27134af913bb2c76efcad63f0 | |
parent | test(treewide): Fix, so they compile and ignore (diff) | |
download | yt-d1bcc36b54793bb3e45d5acecf9d8c503e883011.tar.gz yt-d1bcc36b54793bb3e45d5acecf9d8c503e883011.zip |
chore(treewide): Add missing copyright header
Diffstat (limited to '')
-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}; |