Skip to content

Commit 4b7ec84

Browse files
authored
Rollup merge of #97904 - est31:master, r=Dylan-DPC
Small grammar fix in the compile_error documentation
2 parents fa68e73 + 97519bd commit 4b7ec84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/macros/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ pub(crate) mod builtin {
795795
///
796796
/// Two such examples are macros and `#[cfg]` environments.
797797
///
798-
/// Emit better compiler error if a macro is passed invalid values. Without the final branch,
798+
/// Emit a better compiler error if a macro is passed invalid values. Without the final branch,
799799
/// the compiler would still emit an error, but the error's message would not mention the two
800800
/// valid values.
801801
///
@@ -812,7 +812,7 @@ pub(crate) mod builtin {
812812
/// // ^ will fail at compile time with message "This macro only accepts `foo` or `bar`"
813813
/// ```
814814
///
815-
/// Emit compiler error if one of a number of features isn't available.
815+
/// Emit a compiler error if one of a number of features isn't available.
816816
///
817817
/// ```compile_fail
818818
/// #[cfg(not(any(feature = "foo", feature = "bar")))]

0 commit comments

Comments
 (0)