index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
swap-1.rs
blob: 5cab30e86315ba30249847c130ee85be8b5f57a7 (
plain
)
1
2
3
4
fn main() { let mut x = 3; let mut y = 7; x <-> y; assert (x == 7); assert (y == 3); }