Wrap docstrings to 120 chars (#4600)

This commit is contained in:
Francisco
2023-09-14 15:28:24 -03:00
committed by GitHub
parent 224c23b38f
commit a714fe6dbd
27 changed files with 153 additions and 113 deletions

View File

@ -107,7 +107,8 @@ library ShortStrings {
}
/**
* @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
* @dev Return the length of a string that was encoded to `ShortString` or written to storage using
* {setWithFallback}.
*
* WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
* actual characters as the UTF-8 encoding of a single character can span over multiple bytes.