summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorldm0 <ldm2993593805@163.com>2021-03-09 11:58:32 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-03-09 13:16:12 +0100
commit84c702036ed17058a4a47818161023acc70eb755 (patch)
tree24ec82c374778894af1568c5d8e01a4bfcf2681d
parent650732cd22ce32b0f4662ad0d81612d13528c895 (diff)
Remove outdated comments
-rw-r--r--src/lib.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 945d3065..0716b42f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -642,12 +642,7 @@ impl Builder {
}
/// Whether the generated bindings should contain documentation comments
- /// (docstrings) or not.
- ///
- /// This ideally will always be true, but it may need to be false until we
- /// implement some processing on comments to work around issues as described
- /// in [rust-bindgen issue
- /// #426](https://github.com/rust-lang/rust-bindgen/issues/426).
+ /// (docstrings) or not. This is set to true by default.
///
/// Note that clang by default excludes comments from system headers, pass
/// `-fretain-comments-from-system-headers` as
@@ -1775,7 +1770,7 @@ struct BindgenOptions {
conservative_inline_namespaces: bool,
/// Whether to keep documentation comments in the generated output. See the
- /// documentation for more details.
+ /// documentation for more details. Defaults to true.
generate_comments: bool,
/// Whether to generate inline functions. Defaults to false.