Skip to content

Commit 593bdd9

Browse files
committed
Fix incorrect replacement of modulo with rem
1 parent a784997 commit 593bdd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/base64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ pub trait FromBase64 {
118118
impl FromBase64 for ~[u8] {
119119
/**
120120
* Convert base64 `u8` vector into u8 byte values.
121-
* Every 4 encoded characters is converted into 3 octets, rem padding.
121+
* Every 4 encoded characters is converted into 3 octets, modulo padding.
122122
*
123123
* *Example*:
124124
*

0 commit comments

Comments
 (0)