mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-22 05:59:36 +00:00
docs: add and clean up AI-generated rustdoc comments (grok-4.5)
This commit is contained in:
@@ -96,6 +96,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
"#;
|
||||
|
||||
/// Returns build flags for the given profile as a static slice, or None if empty.
|
||||
pub fn flags(profile: &str) -> Option<&'static [&'static str]> {
|
||||
let f = crate::utils::build::default_profile_flags(profile);
|
||||
if f.is_empty() { None } else { Some(f) }
|
||||
|
||||
Reference in New Issue
Block a user