Skip to content

Commit 75d6394

Browse files
committed
style: fix clippy warning.
1 parent 9255a3e commit 75d6394

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/src/modules/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ pub mod mods {
492492

493493
/// Returns the documentation for the current field.
494494
pub fn doc(&self) -> Option<&str> {
495-
self.struct_field.doc.as_deref()
495+
self.struct_field.doc
496496
}
497497
}
498498

0 commit comments

Comments
 (0)