Skip to content

Commit

Permalink
chore: fix deprecations (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp committed Jul 4, 2024
1 parent 32f219e commit 1c2ea81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustup/lib/src/rustup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class RustupToolchain {
final lines = res.toString().split('\n').where((e) => e.isNotEmpty);
return lines
.map((e) => RustTarget.fromTriple(e))
.whereNotNull()
.nonNulls
.toList(growable: false);
}

Expand Down

0 comments on commit 1c2ea81

Please sign in to comment.