mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 18:36:30 +03:00
Remove use of `dbg!' macro
According to documentation[^1], this macro should not be in version control, and should only be used for debugging. https://doc.rust-lang.org/std/macro.dbg.html
This commit is contained in:
committed by
holger krekel
parent
d5f361d386
commit
8a3bf6a5d9
@@ -70,19 +70,14 @@ fn decode_openpgp(context: &Context, qr: &str) -> Lot {
|
||||
None => return format_err!("Invalid OPENPGP4FPR found").into(),
|
||||
};
|
||||
|
||||
dbg!(fingerprint);
|
||||
dbg!(fragment);
|
||||
|
||||
// replace & with \n to match expected param format
|
||||
let fragment = fragment.replace('&', "\n");
|
||||
dbg!(&fragment);
|
||||
|
||||
// Then parse the parameters
|
||||
let param: Params = match fragment.parse() {
|
||||
Ok(params) => params,
|
||||
Err(err) => return err.into(),
|
||||
};
|
||||
dbg!(¶m);
|
||||
|
||||
let addr = if let Some(addr) = param.get(Param::Forwarded) {
|
||||
match normalize_address(addr) {
|
||||
|
||||
Reference in New Issue
Block a user