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
commit 89c01d6547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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