Merge pull request #1892 from fwqaaq/patch-3

Update 0977.有序数组的平方.md
This commit is contained in:
程序员Carl
2023-02-14 10:45:08 +08:00
committed by GitHub

View File

@ -179,7 +179,7 @@ func sortedSquares(nums []int) []int {
} }
``` ```
Rust Rust
``` ```rust
impl Solution { impl Solution {
pub fn sorted_squares(nums: Vec<i32>) -> Vec<i32> { pub fn sorted_squares(nums: Vec<i32>) -> Vec<i32> {
let n = nums.len(); let n = nums.len();