Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 13th, 2017
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
pub fn sum(&self) -> i16 {
let mut r = 0i16;
for (_, v) in &self.0 {
r += *v as i16;
}
r
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
debug
C# | 21 min ago | 0.93 KB
Spreadsheet
C++ | 23 min ago | 3.61 KB
shader
C# | 25 min ago | 3.69 KB
Untitled
C | 28 min ago | 1.35 KB
MAX30100 Library rev_02
Arduino | 36 min ago | 1.89 KB
MedkitScript (Changed System)
CSS | 39 min ago | 2.18 KB
Heart Monitor rev_01
Arduino | 40 min ago | 1.89 KB
Untitled
JavaScript | 43 min ago | 0.58 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!