Files
codeql/rust/ql/test/extractor-tests/generated/Function/gen_function.rs
Dilan Bhalla 14ce258807 2.19.0 upgrade
2024-09-18 14:28:42 -07:00

9 lines
197 B
Rust
Generated

// generated by codegen
// A function declaration. For example
fn foo(x: u32) -> u64 {(x + 1).into()}
// A function declaration within a trait might not have a body:
trait Trait {
fn bar();
}