Skip to content

Commit

Permalink
style: Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jun 13, 2024
1 parent 6c6839a commit b3effea
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion clap_builder/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# clap_builder
# `clap_builder`

Builder implementation for clap.

Expand Down
1 change: 0 additions & 1 deletion clap_builder/src/output/help_template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// Std
use std::borrow::Cow;
use std::cmp;
use std::usize;

// Internal
use crate::builder::PossibleValue;
Expand Down
11 changes: 4 additions & 7 deletions clap_complete/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
// See the [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) files in this repository
// for more information.

#![doc(html_logo_url = "https://raw.githubusercontent.com/clap-rs/clap/master/assets/clap.png")]
#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(missing_docs, trivial_casts, unused_allocation, trivial_numeric_casts)]
#![forbid(unsafe_code)]
#![allow(clippy::needless_doctest_main)]

//! ## Quick Start
//!
//! - For generating at compile-time, see [`generate_to`]
Expand Down Expand Up @@ -56,8 +49,12 @@
//! }
//! ```

#![doc(html_logo_url = "https://raw.githubusercontent.com/clap-rs/clap/master/assets/clap.png")]
#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![forbid(unsafe_code)]
#![warn(missing_docs)]
#![allow(clippy::needless_doctest_main)]
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]

Expand Down
2 changes: 1 addition & 1 deletion clap_derive/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# clap_derive
# `clap_derive`

Macro implementation for clap's derives.

Expand Down
2 changes: 1 addition & 1 deletion clap_mangen/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- omit in TOC -->
# clap_mangen
# `clap_mangen`

> **Manpage generation for `clap`**
Expand Down

0 comments on commit b3effea

Please sign in to comment.