rustdoc: Make some pub
items crate-private
They don't need to be `pub`. Making them crate-private improves code clarity and `dead_code` linting.
This commit is contained in:
parent
17d29dcdce
commit
fc16b815cc
4 changed files with 14 additions and 14 deletions
|
@ -175,7 +175,7 @@ crate struct StylePath {
|
|||
}
|
||||
|
||||
impl StylePath {
|
||||
pub fn basename(&self) -> Result<String, Error> {
|
||||
crate fn basename(&self) -> Result<String, Error> {
|
||||
Ok(try_none!(try_none!(self.path.file_stem(), &self.path).to_str(), &self.path).to_string())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue