mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
23 lines
326 B
Rust
23 lines
326 B
Rust
// rustfmt-file_lines: [{"file":"tests/source/file-lines-item.rs","range":[7,9]}]
|
|
// rustfmt-reorder_imports: true
|
|
|
|
use foo::{c, b, a};
|
|
use bar;
|
|
|
|
fn foo() {
|
|
bar();
|
|
}
|
|
|
|
impl Drop for Context {
|
|
fn drop(&mut self) {
|
|
}
|
|
}
|
|
|
|
impl Bar for Baz {
|
|
fn foo() {
|
|
bar(
|
|
baz, // Who knows?
|
|
)
|
|
}
|
|
}
|