mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
23 lines
299 B
Rust
23 lines
299 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 */)) {}
|