mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 21:24:53 +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