Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-rust-2e
/ S
Class
S
Source Code/20-02.rs:12–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
*/
11
fn main() {
12
struct S ( i32 );
13
impl Drop for S {
14
fn drop(&mut self) {
15
println!(
"Dropped {}"
, self.0);
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected