Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-rust-2e
/ TS
Class
TS
Source Code/09-25.rs:8–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
#[allow(dead_code)]
7
struct S { a: i32, b: bool }
8
struct TS (f64, char);
9
fn f1() -> E { E::E2 }
10
fn f2() -> S { S { a: 49, b: true } }
11
fn f3() -> TS { TS (4.7,
'w'
) }
Callers
1
f3
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected