Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ main
Function
main
566-reshape-the-matrix.rs:15–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
fn main() {
16
let mat = vec![vec![1,2], vec![3,4]];
17
let r = 1;
18
let c = 4;
19
println!(
"{:?}"
, matrix_reshape(mat, r, c));
20
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected