diff options
Diffstat (limited to 'openpgp/src/armor.rs')
-rw-r--r-- | openpgp/src/armor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/armor.rs b/openpgp/src/armor.rs index 0120822c..4309431b 100644 --- a/openpgp/src/armor.rs +++ b/openpgp/src/armor.rs @@ -622,7 +622,7 @@ impl<'a> Reader<'a> { /* Process headers. */ let key_value = line.splitn(2, ": ").collect::<Vec<&str>>(); if key_value.len() == 1 { - if line.trim_left().len() == 0 { + if line.trim_start().len() == 0 { // Empty line. break; } |