Skip to content

Commit c12ac08

Browse files
Merge pull request #104 from theseus-rs/enable-docs-for-id-and-source-type
feat: enable docs for id and source type
2 parents b1375dc + eee3a97 commit c12ac08

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

file_type/src/file_type.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@ impl FileType {
4545
}
4646

4747
/// Get the file type identifier.
48-
#[doc(hidden)]
4948
#[must_use]
5049
pub fn id(&self) -> usize {
5150
self.file_format.id
5251
}
5352

5453
/// Get the source for this file type.
55-
#[doc(hidden)]
5654
#[must_use]
5755
pub fn source_type(&self) -> &SourceType {
5856
&self.file_format.source_type

0 commit comments

Comments
 (0)