Skip to content

Commit ad22d0b

Browse files
chore: remove todos
1 parent 216918a commit ad22d0b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,11 @@ pub fn test_object(a: &mut ZendObject) -> &mut ZendObject {
5656
a
5757
}
5858

59-
// TODO: not returning a closure
6059
#[php_function]
6160
pub fn test_closure() -> Closure {
6261
Closure::wrap(Box::new(|a| a) as Box<dyn Fn(String) -> String>)
6362
}
6463

65-
// TODO: not returning a closure
6664
#[php_function]
6765
pub fn test_closure_once(a: String) -> Closure {
6866
let example = a.clone();

0 commit comments

Comments
 (0)