Skip to content

Commit 1009dcc

Browse files
committed
chore(agent-data-plane): quote const in a doc comment
Vale flags the bare keyword as a misspelling, and the surrounding code already refers to it in backticks.
1 parent e369c4e commit 1009dcc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/saluki-metadata/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ macro_rules! declare_app_details {
7272
};
7373
}
7474

75-
/// Parses a `u32` from a string in a const context.
75+
/// Parses a `u32` from a string in a `const` context.
7676
///
7777
/// Only intended for the version components that Cargo hands us, which are always plain decimal numbers. Any other
78-
/// character causes a compile-time error, and overflow panics like it would in any other const evaluation.
78+
/// character causes a compile-time error, and overflow panics like it would in any other `const` evaluation.
7979
#[doc(hidden)]
8080
pub const fn const_parse_u32(s: &str) -> u32 {
8181
let bytes = s.as_bytes();

0 commit comments

Comments
 (0)