mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
style: Make clippy happy
This commit is contained in:
parent
6c6839a454
commit
b3effeae10
5 changed files with 7 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
# clap_builder
|
||||
# `clap_builder`
|
||||
|
||||
Builder implementation for clap.
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
// Std
|
||||
use std::borrow::Cow;
|
||||
use std::cmp;
|
||||
use std::usize;
|
||||
|
||||
// Internal
|
||||
use crate::builder::PossibleValue;
|
||||
|
|
|
@ -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`]
|
||||
|
@ -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)]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# clap_derive
|
||||
# `clap_derive`
|
||||
|
||||
Macro implementation for clap's derives.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- omit in TOC -->
|
||||
# clap_mangen
|
||||
# `clap_mangen`
|
||||
|
||||
> **Manpage generation for `clap`**
|
||||
|
||||
|
|
Loading…
Reference in a new issue