fix(router_env): resolve/remove FIXME's and redundent files (#168)

This commit is contained in:
Nishant Joshi
2022-12-19 15:41:26 +05:30
committed by GitHub
parent 8d6d41f2eb
commit 1cdc1367a7
7 changed files with 8 additions and 151 deletions

View File

@ -22,8 +22,7 @@ use tracing_subscriber::{
};
use crate::Storage;
// FIXME: xxx: Describe each implicit field with examples.
// TODO: Documentation coverage for this crate
// Implicit keys
@ -52,14 +51,6 @@ const REQUEST_METHOD: &str = "request_method";
const REQUEST_URL_PATH: &str = "request_url_path";
const REQUEST_ID: &str = "request_id";
//const TAG: &str = "tag";
//const CATEGORY: &str = "category";
//const SESSION_ID: &str = "session_id";
//const PAYMENT_ID: &str = "payment_id";
//const PAYMENT_ATTEMPT_ID: &str = "payment_attempt_id";
//const MERCHANT_ID: &str = "merchant_id";
//const FLOW: &str = "flow";
/// Set of predefined implicit keys.
pub static IMPLICIT_KEYS: Lazy<rustc_hash::FxHashSet<&str>> = Lazy::new(|| {
let mut set = rustc_hash::FxHashSet::default();