check in a version that breaks

This commit is contained in:
bunnie 2021-01-01 00:50:13 +08:00
parent 534fb5373a
commit 17156e483c

View file

@ -120,6 +120,13 @@ impl Write for Uart {
}
fn do_agent(cmd: &mut String<U2048>, com_cid: xous::CID) -> Result<(), xous::Error> {
if true {
let tokens: Vec<&str, U16> = cmd.as_mut_str().split(' ').collect();
for token in tokens.iter() {
println!("token: {}", token);
}
return Ok(());
}
/*
We want to do this:
let tokens: Vec<&str, U16> = cmd.as_mut_str().split(' ').collect();