Open
Description
Input
use std::cell::RefCell;
/// Main function
fn main() {
let a = RefCell::new(2);
dbg!(a);
}
Output
use std::cell::RefCell;
/// Main function
fn main() {
let a = RefCell::new(2);
dbg!(a);
}
Expected output
use std::cell::RefCell;
/// Main function
fn main() {
let a = RefCell::new(2);
dbg!(a);
}
Meta
- rustfmt version: rustfmt 1.4.30-stable
- From where did you install rustfmt?: rustup