diff --git a/aya/src/maps/array/array.rs b/aya/src/maps/array/array.rs index c9176129..bc920573 100644 --- a/aya/src/maps/array/array.rs +++ b/aya/src/maps/array/array.rs @@ -19,7 +19,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 3.19 +/// The minimum kernel version required to use this feature is 3.19. /// /// # Examples /// ```no_run diff --git a/aya/src/maps/array/per_cpu_array.rs b/aya/src/maps/array/per_cpu_array.rs index 514d1c0e..e4116d64 100644 --- a/aya/src/maps/array/per_cpu_array.rs +++ b/aya/src/maps/array/per_cpu_array.rs @@ -19,7 +19,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.6 +/// The minimum kernel version required to use this feature is 4.6. /// /// # Examples /// ```no_run diff --git a/aya/src/maps/array/program_array.rs b/aya/src/maps/array/program_array.rs index f305f64f..a2134810 100644 --- a/aya/src/maps/array/program_array.rs +++ b/aya/src/maps/array/program_array.rs @@ -22,7 +22,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.2 +/// The minimum kernel version required to use this feature is 4.2. /// /// # Examples /// ```no_run diff --git a/aya/src/maps/hash_map/hash_map.rs b/aya/src/maps/hash_map/hash_map.rs index 20177c51..3ebdd1a7 100644 --- a/aya/src/maps/hash_map/hash_map.rs +++ b/aya/src/maps/hash_map/hash_map.rs @@ -15,7 +15,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 3.19 +/// The minimum kernel version required to use this feature is 3.19. /// /// # Examples /// diff --git a/aya/src/maps/hash_map/per_cpu_hash_map.rs b/aya/src/maps/hash_map/per_cpu_hash_map.rs index 2d1f875e..fb23fb43 100644 --- a/aya/src/maps/hash_map/per_cpu_hash_map.rs +++ b/aya/src/maps/hash_map/per_cpu_hash_map.rs @@ -22,7 +22,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.6 +/// The minimum kernel version required to use this feature is 4.6. /// /// # Examples /// diff --git a/aya/src/maps/perf/async_perf_event_array.rs b/aya/src/maps/perf/async_perf_event_array.rs index 6242f90a..623191c4 100644 --- a/aya/src/maps/perf/async_perf_event_array.rs +++ b/aya/src/maps/perf/async_perf_event_array.rs @@ -28,7 +28,7 @@ use crate::maps::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.3 +/// The minimum kernel version required to use this feature is 4.3. /// /// # Examples /// diff --git a/aya/src/maps/perf/perf_event_array.rs b/aya/src/maps/perf/perf_event_array.rs index 7930bab2..5a727eab 100644 --- a/aya/src/maps/perf/perf_event_array.rs +++ b/aya/src/maps/perf/perf_event_array.rs @@ -78,7 +78,7 @@ impl> AsRawFd for PerfEventArrayBuffer { /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.3 +/// The minimum kernel version required to use this feature is 4.3. /// /// # Examples /// diff --git a/aya/src/maps/queue.rs b/aya/src/maps/queue.rs index 1203adbc..d0b34a9c 100644 --- a/aya/src/maps/queue.rs +++ b/aya/src/maps/queue.rs @@ -17,7 +17,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.20 +/// The minimum kernel version required to use this feature is 4.20. /// /// # Examples /// ```no_run diff --git a/aya/src/maps/sock/sock_hash.rs b/aya/src/maps/sock/sock_hash.rs index cc6540be..ca5b5682 100644 --- a/aya/src/maps/sock/sock_hash.rs +++ b/aya/src/maps/sock/sock_hash.rs @@ -25,7 +25,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.18 +/// The minimum kernel version required to use this feature is 4.18. /// /// # Examples /// diff --git a/aya/src/maps/sock/sock_map.rs b/aya/src/maps/sock/sock_map.rs index 29a730f0..47f6e95f 100644 --- a/aya/src/maps/sock/sock_map.rs +++ b/aya/src/maps/sock/sock_map.rs @@ -24,7 +24,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.14 +/// The minimum kernel version required to use this feature is 4.14. /// /// # Examples /// diff --git a/aya/src/maps/stack.rs b/aya/src/maps/stack.rs index 5745d1ee..304d4628 100644 --- a/aya/src/maps/stack.rs +++ b/aya/src/maps/stack.rs @@ -17,7 +17,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.20 +/// The minimum kernel version required to use this feature is 4.20. /// /// # Examples /// ```no_run diff --git a/aya/src/maps/stack_trace.rs b/aya/src/maps/stack_trace.rs index 4ee2ee39..ca20073d 100644 --- a/aya/src/maps/stack_trace.rs +++ b/aya/src/maps/stack_trace.rs @@ -20,7 +20,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.6 +/// The minimum kernel version required to use this feature is 4.6. /// /// # Examples /// @@ -43,7 +43,7 @@ use crate::{ /// // load kernel symbols from /proc/kallsyms /// let ksyms = kernel_symbols()?; /// -/// // NOTE: you tipically send stack_ids from eBPF to user space using other maps +/// // NOTE: you typically send stack_ids from eBPF to user space using other maps /// let stack_id = 1234; /// let mut stack_trace = stack_traces.get(&stack_id, 0)?; /// diff --git a/aya/src/programs/cgroup_skb.rs b/aya/src/programs/cgroup_skb.rs index f3ba1fc6..68971886 100644 --- a/aya/src/programs/cgroup_skb.rs +++ b/aya/src/programs/cgroup_skb.rs @@ -21,7 +21,7 @@ use super::FdLink; /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.10 +/// The minimum kernel version required to use this feature is 4.10. /// /// # Examples /// diff --git a/aya/src/programs/kprobe.rs b/aya/src/programs/kprobe.rs index 9ddf1c7a..32f5bd8c 100644 --- a/aya/src/programs/kprobe.rs +++ b/aya/src/programs/kprobe.rs @@ -22,7 +22,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.1 +/// The minimum kernel version required to use this feature is 4.1. /// /// # Examples /// diff --git a/aya/src/programs/lirc_mode2.rs b/aya/src/programs/lirc_mode2.rs index 73516948..48a2b267 100644 --- a/aya/src/programs/lirc_mode2.rs +++ b/aya/src/programs/lirc_mode2.rs @@ -17,7 +17,7 @@ use libc::{close, dup}; /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.18 +/// The minimum kernel version required to use this feature is 4.18. /// /// # Examples /// diff --git a/aya/src/programs/sk_msg.rs b/aya/src/programs/sk_msg.rs index cbd4575b..4e42136e 100644 --- a/aya/src/programs/sk_msg.rs +++ b/aya/src/programs/sk_msg.rs @@ -13,7 +13,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.17 +/// The minimum kernel version required to use this feature is 4.17. /// /// # Examples /// diff --git a/aya/src/programs/sk_skb.rs b/aya/src/programs/sk_skb.rs index 615e2d56..ffaebf6a 100644 --- a/aya/src/programs/sk_skb.rs +++ b/aya/src/programs/sk_skb.rs @@ -23,7 +23,7 @@ pub enum SkSkbKind { /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.14 +/// The minimum kernel version required to use this feature is 4.14. /// /// # Examples /// diff --git a/aya/src/programs/sock_ops.rs b/aya/src/programs/sock_ops.rs index 390f61bf..048bb950 100644 --- a/aya/src/programs/sock_ops.rs +++ b/aya/src/programs/sock_ops.rs @@ -14,7 +14,7 @@ use crate::{ /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.13 +/// The minimum kernel version required to use this feature is 4.13. /// /// # Examples /// diff --git a/aya/src/programs/socket_filter.rs b/aya/src/programs/socket_filter.rs index 99dd47c2..ac75f081 100644 --- a/aya/src/programs/socket_filter.rs +++ b/aya/src/programs/socket_filter.rs @@ -28,7 +28,7 @@ pub enum SocketFilterError { /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.0 +/// The minimum kernel version required to use this feature is 4.0. /// /// # Examples /// diff --git a/aya/src/programs/tc.rs b/aya/src/programs/tc.rs index 8f9b83d4..6847a68e 100644 --- a/aya/src/programs/tc.rs +++ b/aya/src/programs/tc.rs @@ -34,7 +34,7 @@ pub enum TcAttachType { /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.1 +/// The minimum kernel version required to use this feature is 4.1. /// /// ```no_run /// # #[derive(Debug, thiserror::Error)] diff --git a/aya/src/programs/trace_point.rs b/aya/src/programs/trace_point.rs index 4ff4e342..a3cb52f6 100644 --- a/aya/src/programs/trace_point.rs +++ b/aya/src/programs/trace_point.rs @@ -24,7 +24,7 @@ pub enum TracePointError { /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.7 +/// The minimum kernel version required to use this feature is 4.7. /// /// # Examples /// diff --git a/aya/src/programs/xdp.rs b/aya/src/programs/xdp.rs index 171be717..acf2c53f 100644 --- a/aya/src/programs/xdp.rs +++ b/aya/src/programs/xdp.rs @@ -48,7 +48,7 @@ bitflags! { /// /// # Minimum kernel version /// -/// The minimum kernel version required to use this feature is 4.8 +/// The minimum kernel version required to use this feature is 4.8. /// /// # Examples ///