We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/// # })
//#### # })
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo +nightly fmt make valid rust code invalid.
cargo +nightly fmt
before:
/// ```rust /// use scryfall::card::Card; /// use futures::stream::{self, StreamExt}; /// use futures::future; /// assert!( /// # tokio_test::block_on(async { /// Card::search("lightning").await /// .unwrap() /// .into_stream() /// .map(Result::unwrap) /// .all(|x| future::ready(x.name.to_lowercase().contains("lightning"))) /// .await /// # }) /// )
after:
/// ```rust /// use futures::future; /// use futures::stream::{self, StreamExt}; /// use scryfall::card::Card; /// assert!( /// # tokio_test::block_on(async { /// Card::search("lightning") /// .await /// .unwrap() /// .into_stream() /// .map(Result::unwrap) /// .all(|x| future::ready(x.name.to_lowercase().contains("lightning"))) /// .await //#### # }) /// ) /// ```
Step to reproduce:
❯ cargo +nightly fmt --version rustfmt 1.7.0-nightly (62d7ed4 2024-01-11)
The text was updated successfully, but these errors were encountered:
looks like that is not the only issue. After fixing this manual even other tests fail:
---- search::tests::numeric_property_comparison stdout ---- thread 'search::tests::numeric_property_comparison' panicked at src/search.rs:397:9: assertion `left == right` failed left: 0 right: 2 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sorry, something went wrong.
cargo nightly is broken, see rust-lang/rustfmt#6025
4c5fa57
fmt (#38)
abb374d
* fmt * Revert "fmt" This reverts commit 95d7016. * cargo nightly is broken, see rust-lang/rustfmt#6025
/// # #![rustfmt::skip]
No branches or pull requests
cargo +nightly fmt
make valid rust code invalid.before:
after:
Step to reproduce:
❯ cargo +nightly fmt --version
rustfmt 1.7.0-nightly (62d7ed4 2024-01-11)
The text was updated successfully, but these errors were encountered: