codeql/rust-all
0.2.7
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
This module provides the public class SlicePat.
SlicePat
import codeql.rust.elements.SlicePat
This module provides the public class Pat.
Pat
A slice pattern. For example: rust match x { [1, 2, 3, 4, 5] => "ok", [1, 2, ..] => "fail", [x, y, .., z, 7] => "fail", }
rust match x { [1, 2, 3, 4, 5] => "ok", [1, 2, ..] => "fail", [x, y, .., z, 7] => "fail", }