Skip to content

Commit efb5b9b

Browse files
committed
Rust: Add a comment to clearify test
1 parent 6e99087 commit efb5b9b

File tree

2 files changed

+165
-164
lines changed

2 files changed

+165
-164
lines changed

rust/ql/test/library-tests/dataflow/models/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ fn test_apply_flow_through() {
203203
sink(t); // $ hasValueFlow=33
204204
}
205205

206+
// has a flow model with value flow from argument to returned future
206207
async fn get_async_number(a: i64) -> i64 {
207208
37
208209
}

0 commit comments

Comments
 (0)