1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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
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`