mirror of
https://github.com/orhun/systeroid
synced 2024-10-06 15:49:09 +00:00
style(parser): update error messages
This commit is contained in:
parent
2379c6ddf3
commit
0c223c0a72
|
@ -13,7 +13,7 @@ pub enum Error {
|
|||
#[error("capture group does not exist")]
|
||||
CaptureError,
|
||||
/// Error that may occur when the glob pattern returns zero results.
|
||||
#[error("glob pattern has yielded no results")]
|
||||
#[error("could not find any files to parse")]
|
||||
EmptyFileListError,
|
||||
/// Error that may occur when a required file for parsing does not exist.
|
||||
#[error("required file missing: '{0}'")]
|
||||
|
|
|
@ -40,7 +40,7 @@ impl<'a> App<'a> {
|
|||
fn fetch_documentation(&mut self, kernel_docs: &Path) -> Result<()> {
|
||||
if !kernel_docs.exists() {
|
||||
eprintln!(
|
||||
"warning: linux kernel documentation is not found in path: {:?}",
|
||||
"warning: `linux kernel documentation is not found in path: {:?}`",
|
||||
kernel_docs.to_string_lossy()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue