Get the authors if a header is loaded.
(&self)
| 181 | |
| 182 | /// Get the authors if a header is loaded. |
| 183 | pub fn authors(&self) -> Option<&[atomic_core::change::Author]> { |
| 184 | self.header.as_ref().map(|h| h.authors.as_slice()) |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | impl fmt::Display for HistoryEntry { |