summaryrefslogtreecommitdiffstats
path: root/openpgp/src/armor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/armor.rs')
-rw-r--r--openpgp/src/armor.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/armor.rs b/openpgp/src/armor.rs
index cb356745..8051e9f3 100644
--- a/openpgp/src/armor.rs
+++ b/openpgp/src/armor.rs
@@ -263,9 +263,7 @@ impl<W: Write> Writer<W> {
/// Writes the footer.
///
- /// No more data can be written after this call. If this is not
- /// called explicitly, the footer is written once the writer is
- /// dropped.
+ /// This function needs to be called explicitly before the writer is dropped.
pub fn finalize(mut self) -> Result<W> {
if ! self.dirty {
// No data was written to us, don't emit anything.