From b62d84b56e949b79555dc45da11a9ca00c8968d5 Mon Sep 17 00:00:00 2001 From: Paho Lurie-Gregg Date: Fri, 12 Mar 2021 00:25:24 -0800 Subject: [PATCH] Run fmt on nightly It seems `format_code_in_doc_comments` is unstable. --- .github/workflows/check.yml | 2 +- src/marker_traits.rs | 1 - src/operator_aliases.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d98e225b1..3e06cac05 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -39,7 +39,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: nightly override: true - run: rustup component add rustfmt - uses: actions-rs/cargo@v1 diff --git a/src/marker_traits.rs b/src/marker_traits.rs index 3920e19e8..15db83b36 100644 --- a/src/marker_traits.rs +++ b/src/marker_traits.rs @@ -14,7 +14,6 @@ //! assert_eq!(-42, N42::to_i32()); //! assert_eq!(-42, N42::I32); //! ``` -//! /// A **marker trait** to designate that a type is not zero. All number types in this /// crate implement `NonZero` except `B0`, `U0`, and `Z0`. diff --git a/src/operator_aliases.rs b/src/operator_aliases.rs index fa3174cf7..98f2f2dc2 100644 --- a/src/operator_aliases.rs +++ b/src/operator_aliases.rs @@ -16,7 +16,6 @@ //! assert_type_eq!(X, Y); //! ``` //! -//! // Aliases!!! use crate::type_operators::{