Merge pull request #29 from dmitris/fmt

avoid 'cargo fmt' diffs in generated code
pull/30/head
Alessandro Decina 3 years ago committed by GitHub
commit 524e3fdd5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,4 +12,4 @@ pub struct SockKey {
#[cfg(feature = "user")] #[cfg(feature = "user")]
unsafe impl aya::Pod for SockKey {} unsafe impl aya::Pod for SockKey {}
{%- endif -%} {%- endif -%}

@ -1,4 +1,4 @@
use aya::{Bpf, include_bytes_aligned}; use aya::{include_bytes_aligned, Bpf};
{% case program_type -%} {% case program_type -%}
{%- when "kprobe", "kretprobe" -%} {%- when "kprobe", "kretprobe" -%}
use aya::programs::KProbe; use aya::programs::KProbe;

Loading…
Cancel
Save