Taboo the word "simply" from our API documentation. (#116061)

This commit is contained in:
Ian Hickson
2022-12-11 14:43:22 -08:00
committed by GitHub
parent 1fc166a519
commit 9fdb64b7e7
51 changed files with 180 additions and 133 deletions

View File

@@ -297,7 +297,8 @@ String generateString(String value) {
/// Given a list of strings, placeholders, or helper function calls, concatenate
/// them into one expression to be returned.
/// If isSingleStringVar is passed, then we want to convert "'$expr'" to simply "expr".
///
/// If `isSingleStringVar` is passed, then we want to convert "'$expr'" to "expr".
String generateReturnExpr(List<String> expressions, { bool isSingleStringVar = false }) {
if (expressions.isEmpty) {
return "''";