Files
codeql/rust/ql/test/extractor-tests/generated/Function/gen_function.rs
2024-09-12 22:17:39 +02: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();
}