Clippy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Aode (Lion) 2022-01-13 20:39:01 -06:00
parent fb8f72939d
commit 2e5d05deba
3 changed files with 13 additions and 14 deletions

View file

@ -23,6 +23,7 @@ steps:
commands:
- rustup component add clippy
- cargo clippy -- -D warnings
- cargo clippy -p stable-step-derive -- -D warnings
- cargo clippy --features derive -- -D warnings
- cargo clippy --examples --features derive -- -D warnings

View file

@ -1,7 +1,7 @@
[package]
name = "stable-step"
description = "An implementation of Step for stable rust"
version = "0.1.0"
version = "0.1.1"
authors = ["asonix <asonix@asonix.dog>"]
license = "Apache-2.0/MIT"
repository = "https://git.asonix.dog/asonix/stable-step"

View file

@ -53,21 +53,19 @@
//! }
//! }
//!
//! fn main() {
//! println!("All");
//! for value in MyEnum::iter() {
//! println!("{:?}", value);
//! }
//! println!("All");
//! for value in MyEnum::iter() {
//! println!("{:?}", value);
//! }
//!
//! println!("Subset");
//! for value in MyEnum::B.iter_to(MyEnum::E) {
//! println!("{:?}", value);
//! }
//! println!("Subset");
//! for value in MyEnum::B.iter_to(MyEnum::E) {
//! println!("{:?}", value);
//! }
//!
//! println!("Reversed");
//! for value in MyEnum::B.iter_to_inclusive(MyEnum::E).rev() {
//! println!("{:?}", value);
//! }
//! println!("Reversed");
//! for value in MyEnum::B.iter_to_inclusive(MyEnum::E).rev() {
//! println!("{:?}", value);
//! }
//! ```