mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-06 22:34:18 +08:00
fix(Dart): Avoid using num as a variable name (#946)
This commit is contained in:
@ -22,8 +22,8 @@ class ArrayStack {
|
||||
}
|
||||
|
||||
/* 入栈 */
|
||||
void push(int num) {
|
||||
_stack.add(num);
|
||||
void push(int _num) {
|
||||
_stack.add(_num);
|
||||
}
|
||||
|
||||
/* 出栈 */
|
||||
|
Reference in New Issue
Block a user