mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
30 lines
333 B
Rust
30 lines
333 B
Rust
fn foo<F>(foo2: F)
|
|
where
|
|
F: Fn(
|
|
// this comment is deleted
|
|
),
|
|
{
|
|
}
|
|
|
|
fn foo_block<F>(foo2: F)
|
|
where
|
|
F: Fn(
|
|
/* this comment is deleted */
|
|
),
|
|
{
|
|
}
|
|
|
|
fn bar(
|
|
bar2: impl Fn(
|
|
// this comment is deleted
|
|
),
|
|
) {
|
|
}
|
|
|
|
fn bar_block(
|
|
bar2: impl Fn(
|
|
/* this comment is deleted */
|
|
),
|
|
) {
|
|
}
|