Files
codeql/rust/ql/test/extractor-tests/generated/Function/gen_function.rs
2024-09-06 14:27:57 +02:00

9 lines
199 B
Rust

// 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();
}