We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0daaeab commit aca1749Copy full SHA for aca1749
src/libstd/io/mod.rs
@@ -53,6 +53,8 @@ Some examples of obvious things you might want to do
53
# let _g = ::std::io::ignore_io_error();
54
let mut file = File::create(&Path::new("message.txt"));
55
file.write(bytes!("hello, file!\n"));
56
+ # drop(file);
57
+ # ::std::io::fs::unlink(&Path::new("message.txt"));
58
```
59
60
* Iterate over the lines of a file
src/test/compile-fail/lint-missing-doc.rs
@@ -50,6 +50,7 @@ pub trait A {
50
/// dox
51
fn foo_with_impl() {}
52
}
+#[allow(missing_doc)]
trait B {
fn foo();
0 commit comments