diff options
| author | bors <bors@rust-lang.org> | 2013-10-02 02:31:29 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-02 02:31:29 -0700 |
| commit | d00c9269dce3a7925d7d0bf5edb64b3c6747c6af (patch) | |
| tree | 2446c316e34164e1b0795fb909de8951d503fe20 /src/libstd/rt | |
| parent | 97cd495aca946d088e103d364d3be34f2bfaf1e1 (diff) | |
| parent | 4f67dcb24adb1e23f04e624fcbaf2328b82491b6 (diff) | |
| download | rust-d00c9269dce3a7925d7d0bf5edb64b3c6747c6af.tar.gz rust-d00c9269dce3a7925d7d0bf5edb64b3c6747c6af.zip | |
auto merge of #9665 : alexcrichton/rust/snapshot, r=brson
Uses the new snapshots to kill the old `loop` and introduce the new `continue`.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/logging.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/logging.rs b/src/libstd/rt/logging.rs index 51eb2505f55..299aa1175a7 100644 --- a/src/libstd/rt/logging.rs +++ b/src/libstd/rt/logging.rs @@ -92,14 +92,14 @@ fn parse_logging_spec(spec: ~str) -> ~[LogDirective]{ _ => { dumb_println(format!("warning: invalid logging spec \ '{}', ignoring it", parts[1])); - loop; + continue; } } }, _ => { dumb_println(format!("warning: invalid logging spec '{}',\ ignoring it", s)); - loop; + continue; } } let dir = LogDirective {name: name, level: log_level}; |
