We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46cd62b commit e80c192Copy full SHA for e80c192
rust/ql/test/library-tests/dataflow/sources/web_frameworks.rs
@@ -248,7 +248,7 @@ mod warp_test {
248
249
// A route with parameter and `then`
250
let then_route = warp::path::param().then( // $ Alert[rust/summary/taint-sources]
251
- |a: String| async move {
+ async move |a: String| {
252
sink(a); // $ MISSING: hasTaintFlow
253
254
"".to_string()
@@ -257,8 +257,8 @@ mod warp_test {
257
258
// A route with parameter and `and_then`
259
let and_then_route = warp::path::param().and_then( // $ Alert[rust/summary/taint-sources]
260
- | id: u64 |
261
- async move {
+ async move | id: u64 |
+ {
262
if id != 0 {
263
sink(id); // $ MISSING: hasTaintFlow
264
Ok("".to_string())
0 commit comments