Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-rust-2e
/ S
Class
S
Source Code/22-29.rs:4–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
13 12*/
3
fn main() {
4
struct S { x: Vec<i32> }
5
impl Clone for S {
6
fn clone(&self) -> Self {
7
S { x: self.x.clone() }
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected