tools: run cargo fmt on pnam

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-05-19 14:20:22 +08:00
parent d15127fef6
commit f7ae13da44

View file

@ -1,7 +1,7 @@
use crate::xous_arguments::{XousArgument, XousArgumentCode, XousSize};
use std::collections::BTreeMap;
use std::fmt;
use std::io;
use std::collections::BTreeMap;
#[derive(Debug)]
pub struct ProcessNames {
@ -21,7 +21,9 @@ impl fmt::Display for ProcessNames {
impl ProcessNames {
pub fn new() -> ProcessNames {
ProcessNames { names: BTreeMap::new() }
ProcessNames {
names: BTreeMap::new(),
}
}
pub fn set(&mut self, pid: u32, name: &str) {