Skip to content

Commit

Permalink
Improve wording of comment (#1331)
Browse files Browse the repository at this point in the history
Avoid a triple negative ("aren't unless non-null")
  • Loading branch information
Rafer45 committed May 24, 2021
1 parent d15a41a commit b098adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/ast/sass/expression/function.dart
Expand Up @@ -20,8 +20,8 @@ class FunctionExpression implements Expression, CallableInvocation {

/// The name of the function being invoked.
///
/// Underscores aren't converted to hyphens in this name *unless* [namespace]
/// is non-`null`, since otherwise it could be a plain CSS function call.
/// If [namespace] is non-`null`, underscores are converted to hyphens in this name.
/// If [namespace] is `null`, this could be a plain CSS function call, so underscores are kept unchanged.
///
/// If this is interpolated, the function will be interpreted as plain CSS,
/// even if it has the same name as a Sass function.
Expand Down

0 comments on commit b098adb

Please sign in to comment.