nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/file: move the call of `stdout.set_buffering_mode` to Stdout
[nit.git]
/
lib
/
crypto.nit
diff --git
a/lib/crypto.nit
b/lib/crypto.nit
index
a84358f
..
a4abbd1
100644
(file)
--- a/
lib/crypto.nit
+++ b/
lib/crypto.nit
@@
-69,7
+69,6
@@
redef class String
var rot = x % 26
if rot < 0 then rot += 26
var d = new FlatBuffer.with_capacity(length)
var rot = x % 26
if rot < 0 then rot += 26
var d = new FlatBuffer.with_capacity(length)
- var p = 0
for i in chars do
d.add i.rot(rot)
end
for i in chars do
d.add i.rot(rot)
end