vdoc: highlight inline examples for -f html (#13879)

This commit is contained in:
Nick Treleaven 2022-03-31 17:32:32 +01:00 committed by GitHub
parent 5c43493183
commit a87cd9663e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -72,7 +72,7 @@ pub fn (c byte) is_alnum() bool {
// is_capital returns `true`, if the byte is a Latin capital letter.
// Example: assert `H`.is_capital() == true
// Example: assert 'h`.is_capital() == false
// Example: assert `h`.is_capital() == false
[inline]
pub fn (c byte) is_capital() bool {
return c >= `A` && c <= `Z`