From 0727a211761aade147a3e43924fe8d0aa6d746be Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:39:48 +0100 Subject: [PATCH] chore: Punctuation in error messages. --- libs/pavexc/src/language/resolved_path.rs | 2 +- libs/pavexc/src/rustdoc/queries.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/pavexc/src/language/resolved_path.rs b/libs/pavexc/src/language/resolved_path.rs index f641e556c..e510691a0 100644 --- a/libs/pavexc/src/language/resolved_path.rs +++ b/libs/pavexc/src/language/resolved_path.rs @@ -1108,7 +1108,7 @@ impl Display for UnknownPath { let krate = path.crate_name().to_string(); write!( f, - "I could not find '{path}' in the auto-generated documentation for '{krate}'" + "I could not find '{path}' in the auto-generated documentation for '{krate}'." ) } } diff --git a/libs/pavexc/src/rustdoc/queries.rs b/libs/pavexc/src/rustdoc/queries.rs index 46f243275..517a798aa 100644 --- a/libs/pavexc/src/rustdoc/queries.rs +++ b/libs/pavexc/src/rustdoc/queries.rs @@ -1104,7 +1104,7 @@ impl std::fmt::Display for UnknownItemPath { let krate = self.path.first().unwrap(); write!( f, - "I could not find '{path}' in the auto-generated documentation for '{krate}'" + "I could not find '{path}' in the auto-generated documentation for '{krate}'." ) } }