mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:43 +00:00
Switch to Rust 2024 edition (#18129)
This commit is contained in:
parent
e67b35743a
commit
9ae698fe30
1082 changed files with 4211 additions and 3300 deletions
|
@ -1,11 +1,11 @@
|
|||
use std::io::{stdout, Read, Write};
|
||||
use std::io::{Read, Write, stdout};
|
||||
use std::path::Path;
|
||||
use std::{fs, io};
|
||||
|
||||
use anyhow::{bail, Context, Result};
|
||||
use anyhow::{Context, Result, bail};
|
||||
use clap::Parser as ClapParser;
|
||||
|
||||
use ruff_python_formatter::cli::{format_and_debug_print, Cli, Emit};
|
||||
use ruff_python_formatter::cli::{Cli, Emit, format_and_debug_print};
|
||||
|
||||
/// Read a `String` from `stdin`.
|
||||
pub(crate) fn read_from_stdin() -> Result<String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue