misc: block: streamline error Display::fmt()

The changes were mostly automatically applied using the Python
script mentioned in the first commit of this series.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-05-28 08:12:19 +02:00
committed by Rob Bradford
parent 06a868cb85
commit aebbd1aecd
7 changed files with 52 additions and 52 deletions

View File

@@ -28,7 +28,7 @@ pub enum LockError {
#[error("The file is already locked")]
AlreadyLocked,
/// IO error.
#[error("The lock state could not be checked or set: {0}")]
#[error("The lock state could not be checked or set")]
Io(#[source] io::Error),
}