avoid 'cargo fmt' diffs in generated code

pull/29/head
Dmitry Savintsev 3 years ago
parent 1a24fea5fe
commit c35eadc34b

@ -12,4 +12,4 @@ pub struct SockKey {
#[cfg(feature = "user")]
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 -%}
{%- when "kprobe", "kretprobe" -%}
use aya::programs::KProbe;

Loading…
Cancel
Save