fn remove<T>( items: &mut Vec<T>, what: &str, name: &str, same: impl Fn(&T) -> bool, ) -> Result<(), ToolError>