Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
pattern-matching-on-slice-from-vector
sword_smith
Apr 25th, 2021
1,762
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rust
0.24 KB
| None
|
0
0
raw
download
clone
embed
print
report
fn
normalize
(
self
)
{
loop
{
match
self
.coefficients.as_slice
(
)
{
[
0
,
_
]
=>
{
self
.coefficients.remove
(
0
)
;
}
a
=>
break
,
}
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ Make $1500 in 20 minutes
JavaScript | 1 min ago | 0.94 KB
✅ MAKE $500 IN 15 MIN
JavaScript | 3 min ago | 0.94 KB
Swapzone Glitch (Working)
JavaScript | 5 min ago | 0.94 KB
Crypto Exchange profit method
JavaScript | 7 min ago | 0.94 KB
2D Pool C++ D2D (Semi-Circle Pockets+Felt Tex...
C++ | 30 min ago | 225.48 KB
FoxPort with RU locale
Lua | 1 hour ago | 11.66 KB
2D StickPool C++ D2D (Pockets Are Semi-Circle...
C++ | 2 hours ago | 240.67 KB
Last_kmsg
Bash | 2 hours ago | 131.12 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!