rust: Add license and copyright text to the rendered documentation.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 4 Sep 2025 20:34:28 +0000 (13:34 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 17 Sep 2025 15:17:34 +0000 (08:17 -0700)
rust/pspp/src/lib.rs

index 2afa7204835ce677aea22ea67d806c676f1fadf8..ee2e8a68ee25200bf4e73b943dfc93c9e8456391 100644 (file)
 //! the Rust rewrite.
 //!
 //! [Savannah]: https://savannah.gnu.org/bugs/?group=pspp
-
-// PSPP - a program for statistical analysis.
-// Copyright (C) 2025 Free Software Foundation, Inc.
-//
-// 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, either version 3 of the License, or (at your option) any later
-// version.
-//
-// 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 <http://www.gnu.org/licenses/>.
+//!
+//! # License
+//!
+//! Copyright © 2025 Free Software Foundation, Inc.
+//!
+//! 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, either version 3 of the License, or (at your option) any later
+//! version.
+//!
+//! 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.
+//!
+//! [GNU General Public License]: http://www.gnu.org/licenses/
 use std::ops::Range;
 
 pub mod calendar;