Add documentation for runtest::check_rustdoc_test_option
method
This commit is contained in:
parent
612796c420
commit
dde78bd946
@ -2109,6 +2109,10 @@ fn get_lines<P: AsRef<Path>>(
|
|||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// This method is used for `//@ check-test-line-numbers-match`.
|
||||||
|
///
|
||||||
|
/// It checks that doctests line in the displayed doctest "name" matches where they are
|
||||||
|
/// defined in source code.
|
||||||
fn check_rustdoc_test_option(&self, res: ProcRes) {
|
fn check_rustdoc_test_option(&self, res: ProcRes) {
|
||||||
let mut other_files = Vec::new();
|
let mut other_files = Vec::new();
|
||||||
let mut files: HashMap<String, Vec<usize>> = HashMap::new();
|
let mut files: HashMap<String, Vec<usize>> = HashMap::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user