Fix long lines
This commit is contained in:
parent
656a2af989
commit
06d14f3a1c
1 changed files with 2 additions and 1 deletions
|
|
@ -95,7 +95,8 @@ fn from_str_str(s: str) -> (option::t<json>, str) {
|
|||
escape = true;
|
||||
cont;
|
||||
} else if (c == '"') {
|
||||
ret (some(string(res)), str::char_slice(s, pos, str::char_len(s)));
|
||||
ret (some(string(res)),
|
||||
str::char_slice(s, pos, str::char_len(s)));
|
||||
}
|
||||
res = res + str::from_char(c);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue