Cleanup.
This commit is contained in:
@@ -269,6 +269,9 @@ impl<'s> Comment<'s> {
|
||||
}
|
||||
|
||||
impl<'s> ExportBlock<'s> {
|
||||
/// Gets the export type capitalized.
|
||||
///
|
||||
/// Upstream Emacs Org-mode capitalizes the export type.
|
||||
pub fn get_export_type(&self) -> Option<String> {
|
||||
self.export_type.map(|s| s.to_uppercase())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user