fix(Dart): Avoid using num as a variable name (#946)

This commit is contained in:
liuyuxin
2023-11-16 00:32:39 +08:00
committed by GitHub
parent fcbaf101a4
commit 82f006372e
15 changed files with 98 additions and 98 deletions
@@ -8,9 +8,9 @@ import '../chapter_stack_and_queue/linkedlist_deque.dart';
/* Driver Code */
void main() {
int num = 3;
int hashNum = num.hashCode;
print("整数 $num 的哈希值为 $hashNum");
int _num = 3;
int hashNum = _num.hashCode;
print("整数 $_num 的哈希值为 $hashNum");
bool bol = true;
int hashBol = bol.hashCode;