Skip to content

Commit ad44535

Browse files
committed
docs bare-fn-implements-fn-mut
1 parent 97a4bd1 commit ad44535

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ui/functions-closures/bare-fn-implements-fn-mut.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Tests that bare functions implement the `FnMut` trait correctly.
2+
13
//@ run-pass
24

35
fn call_f<F:FnMut()>(mut f: F) {

0 commit comments

Comments
 (0)