chiark / gitweb /
Fix an error message typo
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 May 2022 08:53:45 +0000 (09:53 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 May 2022 08:54:58 +0000 (09:54 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/spec.rs

index 669623ca52ca7b17863db45a2488eb1fd9761473..73df6f59a8a32b5fcec6a233480942e984f766ff 100644 (file)
@@ -68,7 +68,7 @@ pub enum SpecError {
   #[error("internal error: {0}")]            InternalError(String),
   #[error("specified position is off table")] PosOffTable,
   #[error("library not found")]              LibraryNotFound,
-  #[error("item not found inlibrary")]       LibraryItemNotFound(ItemSpec),
+  #[error("item not found in library")]      LibraryItemNotFound(ItemSpec),
   #[error("acl contains invalid account glob")] AclInvalidAccountGlob,
   #[error("acl entry allow/deny overlap")]   AclEntryOverlappingAllowDeny,
   #[error("inconsistent piece count")]       InconsistentPieceCount,