```rust let x = 10; println!("size of `x` in bytes: {}", std::mem::size_of_val(&x)); ```
Scanned 9/8/2026
Install to Claude Code
npx -y skills add LinkXSystem/learn-guide --skill docs --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Docs?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/linkxsystem-docs-6c3f857c)More formats (shields.io, HTML) on the badges page.
# 常用技巧
## 变量
- 查询变量的字节:
```rust
let x = 10;
println!("size of `x` in bytes: {}", std::mem::size_of_val(&x));
```
## 流程控制
- 指定中断的 Loop :
```rust
fn main() {
'outer': loop {
println!("Outer Inline !");
'inline': loop {
break 'outer';
}
println!("Outer Errors !");
}
}
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!