refactor: change naming of local variable to reflect intent

This commit is contained in:
Aleksey Kulikov 2021-09-30 19:10:43 +03:00
parent 5f7fdf4bd3
commit 9686d93935
3 changed files with 13 additions and 13 deletions

View file

@ -7,9 +7,9 @@ class Features {
var result = <GitFeature>[];
final featuresInt = libgit2.git_libgit2_features();
for (var flag in GitFeature.values) {
if (featuresInt & flag.value == flag.value) {
result.add(flag);
for (var feature in GitFeature.values) {
if (featuresInt & feature.value == feature.value) {
result.add(feature);
}
}