Skip to content

Commit 9241055

Browse files
authored
Clean some comments in the code (#2509)
1 parent 879f484 commit 9241055

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

lib/src/async_environment.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,8 +782,6 @@ final class AsyncEnvironment {
782782
var values = _variables[i];
783783
var nodes = _variableNodes[i];
784784
for (var (name, value) in values.pairs) {
785-
// Implicit configurations are never invalid, making [configurationSpan]
786-
// unnecessary, so we pass null here to avoid having to compute it.
787785
configuration[name] = ConfiguredValue.implicit(value, nodes[name]!);
788786
}
789787
}

lib/src/configuration.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ final class Configuration {
4646
/// An implicit configuration will always return `false` because it was not
4747
/// created through another configuration.
4848
///
49-
/// [ExplicitConfiguration]s will and configurations created [throughForward]
49+
/// [ExplicitConfiguration]s and configurations created [throughForward]
5050
/// will be considered to have the same original config if they were created
5151
/// as a copy from the same base configuration.
5252
bool sameOriginal(Configuration that) =>

lib/src/environment.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,8 +788,6 @@ final class Environment {
788788
var values = _variables[i];
789789
var nodes = _variableNodes[i];
790790
for (var (name, value) in values.pairs) {
791-
// Implicit configurations are never invalid, making [configurationSpan]
792-
// unnecessary, so we pass null here to avoid having to compute it.
793791
configuration[name] = ConfiguredValue.implicit(value, nodes[name]!);
794792
}
795793
}

0 commit comments

Comments
 (0)