Every crate should compile with deny(missing_docs)
on
#102
Labels
contrib/help wanted
Contributing: help is requested or needed by the filer of this issue.
kind/doc
Kind: this issue describes a change or improvement in documentation
I'd really like to be able to say I have 100% comprehensive documentation for every publicly-exposed symbol in the SOS source code.
Rust gives us the
#[deny(missing_docs)]
attribute, which will fail compilation if it hits an item without documentation comments. I'd really like to say that the kernel can compile with this attribute enabled.This is, however, a big project. There's a lot of code here, and the quality of documentation varies a lot module by module. Therefore, I might make separate issues for each crate and maybe turn this into a project/milestone.
alloc
crate compiles withdeny(missing_docs)
boot
crate compiles withdeny(missing_docs)
cpu
crate compiles withdeny(missing_docs)
elf
crate compiles withdeny(missing_docs)
memory
crate compiles withdeny(missing_docs)
sos_intrusive
crate compiles withdeny(missing_docs)
util
crate compiles withdeny(missing_docs)
vga
crate compiles withdeny(missing_docs)
deny(missing_docs)
The text was updated successfully, but these errors were encountered: