From 1a54008ef0456c41c9c20a2b0bb4438c284bee1f Mon Sep 17 00:00:00 2001 From: fwqaaq Date: Mon, 21 Aug 2023 22:32:55 +0800 Subject: [PATCH] Apply suggestions from code review --- problems/0695.岛屿的最大面积.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/problems/0695.岛屿的最大面积.md b/problems/0695.岛屿的最大面积.md index b8b2ea72..3dd181a3 100644 --- a/problems/0695.岛屿的最大面积.md +++ b/problems/0695.岛屿的最大面积.md @@ -418,7 +418,7 @@ impl Solution { } pub fn dfs( - grid: &Vec>, + grid: &[Vec], visited: &mut [Vec], (x, y): (i32, i32), count: &mut i32, @@ -463,7 +463,7 @@ impl Solution { } pub fn dfs( - grid: &Vec>, + grid: &[Vec], visited: &mut [Vec], (x, y): (i32, i32), count: &mut i32,