Skip to content

Commit

Permalink
Clean some comments in the code (#2509)
Browse files Browse the repository at this point in the history
  • Loading branch information
stof authored Feb 12, 2025
1 parent 879f484 commit 9241055
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions lib/src/async_environment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,6 @@ final class AsyncEnvironment {
var values = _variables[i];
var nodes = _variableNodes[i];
for (var (name, value) in values.pairs) {
// Implicit configurations are never invalid, making [configurationSpan]
// unnecessary, so we pass null here to avoid having to compute it.
configuration[name] = ConfiguredValue.implicit(value, nodes[name]!);
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ final class Configuration {
/// An implicit configuration will always return `false` because it was not
/// created through another configuration.
///
/// [ExplicitConfiguration]s will and configurations created [throughForward]
/// [ExplicitConfiguration]s and configurations created [throughForward]
/// will be considered to have the same original config if they were created
/// as a copy from the same base configuration.
bool sameOriginal(Configuration that) =>
Expand Down
2 changes: 0 additions & 2 deletions lib/src/environment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -788,8 +788,6 @@ final class Environment {
var values = _variables[i];
var nodes = _variableNodes[i];
for (var (name, value) in values.pairs) {
// Implicit configurations are never invalid, making [configurationSpan]
// unnecessary, so we pass null here to avoid having to compute it.
configuration[name] = ConfiguredValue.implicit(value, nodes[name]!);
}
}
Expand Down

0 comments on commit 9241055

Please sign in to comment.