2 Checks the doc comments of publicly visible functions that
3 return a `Result` type and warns if there is no `# Errors` section.
6 Documenting the type of errors that can be returned from a
7 function can help callers write code to handle the errors appropriately.
10 Since the following function returns a `Result` it has an `# Errors` section in
16 /// Will return `Err` if `filename` does not exist or the user does not have
17 /// permission to read it.
18 pub fn read(filename: String) -> io::Result<String> {