mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 04:48:13 +00:00
⬆️ rust-analyzer
This commit is contained in:
parent
22c8c9c401
commit
8231fee466
111 changed files with 5796 additions and 5130 deletions
|
|
@ -111,10 +111,10 @@ impl fmt::Display for BinaryOp {
|
|||
BinaryOp::ArithOp(op) => fmt::Display::fmt(op, f),
|
||||
BinaryOp::CmpOp(op) => fmt::Display::fmt(op, f),
|
||||
BinaryOp::Assignment { op } => {
|
||||
f.write_str("=")?;
|
||||
if let Some(op) = op {
|
||||
fmt::Display::fmt(op, f)?;
|
||||
}
|
||||
f.write_str("=")?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@
|
|||
//!
|
||||
//! We don't normally run fuzzying, so this is hopelessly bitrotten :(
|
||||
|
||||
use std::{
|
||||
convert::TryInto,
|
||||
str::{self, FromStr},
|
||||
};
|
||||
use std::str::{self, FromStr};
|
||||
|
||||
use text_edit::Indel;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue