Skip to content

Commit

Permalink
Use correct name of cache everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
loewenheim committed Jul 2, 2024
1 parent 318be06 commit 45e4739
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ use crate::{java, stacktrace, DeobfuscatedSignature, StackFrame, StackTrace, Thr

pub use raw::ProguardCache;

/// Errors returned while loading/parsing a serialized [`PrgCache`].
/// Errors returned while loading/parsing a serialized [`ProguardCache`].
///
/// After a PrgCache was successfully parsed via [`PrgCache::parse`], an Error that occurs during
/// After a `ProguardCache` was successfully parsed via [`ProguardCache::parse`], an Error that occurs during
/// access of any data indicates either corruption of the serialized file, or a bug in the
/// converter/serializer.
#[derive(Debug, Error, Clone, Copy, PartialEq, Eq)]
Expand All @@ -26,7 +26,7 @@ pub enum CacheErrorKind {
#[error("wrong format magic")]
WrongFormat,
/// The format version in the header is wrong/unknown.
#[error("unknown SymCache version")]
#[error("unknown ProguardCache version")]
WrongVersion,
/// Header could not be parsed from the cache file.
#[error("could not read header")]
Expand All @@ -47,7 +47,7 @@ pub enum CacheErrorKind {
},
}

/// An error returned when handling a [`PrgCache`].
/// An error returned when handling a [`ProguardCache`].
#[derive(Debug, Error)]
#[error("{kind}")]
pub struct CacheError {
Expand Down

0 comments on commit 45e4739

Please sign in to comment.