This website works better with JavaScript.
Explore
Help
Register
Sign In
rust
/
rust-course
mirror of
https://github.com/sunface/rust-course
Watch
5
Star
0
Fork
You've already forked rust-course
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
583ed5162d
gh-pages
main
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '583ed5162d'
${ noResults }
rust-course
/
writing-material
/
posts
/
println.md
7 lines
119 B
Raw
Blame
History
一些关于println的技巧
## 打印对象地址
```rust
let
v
=
vec!
[
1
,
2
,
3
];
println!
(
"{:p}"
,
v
.
as_ptr
())
```
Reference in new issue
View Git Blame
Copy Permalink