@@ -1497,7 +1497,7 @@ fn test_object_map_create_without_name() {
1497
1497
assert_eq ! ( val, res) ;
1498
1498
}
1499
1499
1500
- /// Test whether we can obtain multiple `MapHandle`s from a `Map
1500
+ /// Test whether we can obtain multiple `MapHandle`s from a `Map`.
1501
1501
#[ tag( root) ]
1502
1502
#[ test]
1503
1503
fn test_object_map_handle_clone ( ) {
@@ -1667,7 +1667,7 @@ fn test_object_kprobe_with_opts() {
1667
1667
}
1668
1668
1669
1669
/// Check that we can attach a BPF program to multiple kernel kprobes using
1670
- /// kprobe_multi.
1670
+ /// ` kprobe_multi` .
1671
1671
#[ tag( root) ]
1672
1672
#[ test]
1673
1673
#[ ignore = "requires kernel with kprobe multi support" ]
@@ -1687,7 +1687,7 @@ fn test_object_kprobe_multi() {
1687
1687
}
1688
1688
1689
1689
/// Check that we can attach a BPF program to multiple kernel kprobes using
1690
- /// kprobe_multi, providing additional options.
1690
+ /// ` kprobe_multi` , providing additional options.
1691
1691
#[ tag( root) ]
1692
1692
#[ test]
1693
1693
#[ ignore = "requires kernel with kprobe multi support" ]
@@ -2004,7 +2004,7 @@ fn test_map_pinned_status() {
2004
2004
let _unused = fs:: remove_file ( expected_path) ;
2005
2005
}
2006
2006
2007
- /// Change the root_pin_path and see if it works.
2007
+ /// Change the ` root_pin_path` and see if it works.
2008
2008
#[ tag( root) ]
2009
2009
#[ test]
2010
2010
fn test_map_pinned_status_with_pin_root_path ( ) {
@@ -2168,7 +2168,8 @@ fn test_run_prog_fail() {
2168
2168
let _err = prog. test_run ( input) . unwrap_err ( ) ;
2169
2169
}
2170
2170
2171
- /// Check that we can run a program with test_run with `repeat` set.
2171
+ /// Check that we can run a program with `test_run` with `repeat` set.
2172
+ ///
2172
2173
/// We set a counter in the program which we bump each time we run the
2173
2174
/// program.
2174
2175
/// We check that the counter is equal to the value of `repeat`.
0 commit comments