jid: Rename error into Error

JidParseError is an ok name when imported elsewhere, but inside of this
crate it makes much more sense to name it Error.
This commit is contained in:
Emmanuel Gil Peyrot 2023-06-20 12:51:37 +02:00
commit 1904f0af6c
3 changed files with 52 additions and 52 deletions

View file

@ -10,7 +10,7 @@
//!
//! For usage, check the documentation on the `Jid` struct.
use crate::JidParseError as Error;
use crate::Error;
use core::num::NonZeroU16;
use memchr::memchr;
use std::str::FromStr;