Skip to main content

tidy

Function tidy 

Source
fn tidy(record_type: u16, data: &str) -> String
Expand description

A record’s data as a caller wants to read it: a nameserver without its root dot, a TXT record with its character-string quoting undone, and anything else as it came.