Update 0977.有序数组的平方.md

add rust  highlighting
This commit is contained in:
fw_qaq
2023-02-13 17:49:40 +08:00
committed by GitHub
parent b0c67e3dff
commit fd50571201

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();