From 4d2861c6f03450dfcb7642ca2ae250bbd0d16453 Mon Sep 17 00:00:00 2001 From: Jesse Wright <63333554+jeswr@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:30:06 +0000 Subject: [PATCH] chore: fix error message --- lib/oxrdf/src/cast_error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/oxrdf/src/cast_error.rs b/lib/oxrdf/src/cast_error.rs index c976762c..944cadbc 100644 --- a/lib/oxrdf/src/cast_error.rs +++ b/lib/oxrdf/src/cast_error.rs @@ -1,11 +1,11 @@ use std::error::Error; -/// An error return if some content in the database is corrupted. +/// An error return if trying to cast a term as something it cannot be converted to. #[derive(Debug, thiserror::Error)] #[error(transparent)] pub struct TermCastError(#[from] pub TermCastErrorKind); -/// An error return if some content in the database is corrupted. +/// An error return if trying to cast a term as something it cannot be converted to. #[derive(Debug, thiserror::Error)] pub enum TermCastErrorKind { #[error("{0}")]