just playing with tangled
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

working_copy: drop "Internal backend error" message from error

I don't think the message adds anything over what the `BackendError`
itself provides, so let's use `transparent` instead.

I also dropped the `Internal` prefix from the variant because that
also didn't seem to add anything.

authored by

Martin von Zweigbergk and committed by
Martin von Zweigbergk
ca1f1973 8aa71f58

+2 -2
+2 -2
lib/src/working_copy.rs
··· 150 150 path: PathBuf, 151 151 }, 152 152 /// Reading or writing from the commit backend failed. 153 - #[error("Internal backend error")] 154 - InternalBackendError(#[from] BackendError), 153 + #[error(transparent)] 154 + BackendError(#[from] BackendError), 155 155 /// A file was larger than the specified maximum file size for new 156 156 /// (previously untracked) files. 157 157 #[error("New file {path} of size ~{size} exceeds snapshot.max-new-file-size ({max_size})")]