Expand description
Generate String
from the given data
as QR code.
Returns an error if generating the QR code failed.
let qr_string = qr2term::generate_qr_string("https://rust-lang.org/").unwrap();
print!("{}", qr_string);
Panics if generating the QR code string failed.