From 71ec04eb250c71bfa28f79c7b2a321ae40ab7e90 Mon Sep 17 00:00:00 2001 From: martinsoees Date: Fri, 12 Jul 2024 03:06:59 -0400 Subject: [PATCH] Proper rustdoc reference to Ebpfloader::set_global --- aya/src/bpf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aya/src/bpf.rs b/aya/src/bpf.rs index 27e9eeba..b8690935 100644 --- a/aya/src/bpf.rs +++ b/aya/src/bpf.rs @@ -232,7 +232,7 @@ impl<'a> EbpfLoader<'a> { /// This is useful when you have a single ebpf program containing e.g. a `RingBuf` /// and a `PerfEventArray` and you decide which one to use before loading the bytecode. /// - /// Must be used with [.set_global()] to signal if the map is supported in the ebpf program. + /// Must be used with [`EbpfLoader::set_global`] to signal if the map is supported in the ebpf program. /// /// # Example ///