Add punctuation

pull/848/head
Tamir Duberstein 1 week ago
parent 50ae0ee099
commit 7084df68aa

@ -229,7 +229,7 @@ pub enum UProbeError {
/// There was an error parsing `/etc/ld.so.cache`. /// There was an error parsing `/etc/ld.so.cache`.
#[error("error reading `{}` file", LD_SO_CACHE_FILE)] #[error("error reading `{}` file", LD_SO_CACHE_FILE)]
InvalidLdSoCache { InvalidLdSoCache {
/// the original [`io::Error`] /// the original [`io::Error`].
#[source] #[source]
io_error: &'static io::Error, io_error: &'static io::Error,
}, },
@ -237,16 +237,16 @@ pub enum UProbeError {
/// The target program could not be found. /// The target program could not be found.
#[error("could not resolve uprobe target `{path}`")] #[error("could not resolve uprobe target `{path}`")]
InvalidTarget { InvalidTarget {
/// path to target /// path to target.
path: PathBuf, path: PathBuf,
}, },
/// There was an error resolving the target symbol. /// There was an error resolving the target symbol.
#[error("error resolving symbol")] #[error("error resolving symbol")]
SymbolError { SymbolError {
/// symbol name /// symbol name.
symbol: String, symbol: String,
/// the original error /// the original error.
#[source] #[source]
error: Box<dyn Error + Send + Sync>, error: Box<dyn Error + Send + Sync>,
}, },

Loading…
Cancel
Save