summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-01-07 12:50:12 +0200
committerLars Wirzenius <liw@liw.fi>2023-01-07 12:50:12 +0200
commit72f83251881b6af5c846fc352aa170b1fcf79408 (patch)
tree2be2060a4b7b7c01b3fedf78c6aaffc5af635c91
parent997480836eec3208bc7e3a2862bc75c5937688fc (diff)
downloadriki-72f83251881b6af5c846fc352aa170b1fcf79408.tar.gz
refactor: drop now-unused RikiError::PageMissing
Sponsored-by: author
-rw-r--r--src/error.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/error.rs b/src/error.rs
index 6f3ba22..86013f3 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -1,5 +1,4 @@
use crate::html::HtmlError;
-use std::path::PathBuf;
#[derive(Debug, thiserror::Error)]
pub enum RikiError {
@@ -27,9 +26,6 @@ pub enum RikiError {
#[error(transparent)]
Version(#[from] crate::version::VersionError),
- #[error("link to missing page {1} on {0}")]
- PageMissing(PathBuf, PathBuf),
-
#[error(transparent)]
PageSpec(#[from] crate::pagespec::PageSpecError),