We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35eaf74 + 3bc6068 commit 190a171Copy full SHA for 190a171
src/db/add_package.rs
@@ -264,6 +264,8 @@ fn read_rust_doc(file_path: &Path) -> Result<Option<String>> {
264
265
if rustdoc.is_empty() {
266
Ok(None)
267
+ } else if rustdoc.len() > 51200 {
268
+ Ok(Some(format!("(Library doc comment ignored due to being too long. ({} > 51200))", rustdoc.len())))
269
} else {
270
Ok(Some(rustdoc))
271
}
0 commit comments