Преглед на файлове

Update rust version lockfile and run cargo fmt

Mark Rousskov преди 6 години
родител
ревизия
d1fbedf345
променени са 3 файла, в които са добавени 3 реда и са изтрити 4 реда
  1. 1 1
      .travis.yml
  2. 1 2
      parser/src/command.rs
  3. 1 1
      rust-toolchain

+ 1 - 1
.travis.yml

@@ -1,5 +1,5 @@
 language: rust
-rust: nightly-2019-03-15
+rust: nightly-2019-05-12
 cache:
   - cargo
 

+ 1 - 2
parser/src/command.rs

@@ -2,8 +2,8 @@ use crate::code_block::ColorCodeBlocks;
 use crate::error::Error;
 use crate::token::{Token, Tokenizer};
 
-pub mod relabel;
 pub mod assign;
+pub mod relabel;
 
 pub fn find_commmand_start(input: &str, bot: &str) -> Option<usize> {
     input.find(&format!("@{}", bot))
@@ -78,7 +78,6 @@ impl<'a> Input<'a> {
             }
         }
 
-
         if success.len() > 1 {
             panic!(
                 "succeeded parsing {:?} to multiple commands: {:?}",

+ 1 - 1
rust-toolchain

@@ -1 +1 @@
-nightly-2019-03-15
+nightly-2019-05-12