From cb0b66c4a92d4f03debe38dfb2a014b154c7dd96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20K=C3=B6ster?= Date: Tue, 6 Jul 2021 11:05:00 +0200 Subject: [PATCH] fix: improved documentation --- src/bcf/record.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bcf/record.rs b/src/bcf/record.rs index 1e748d610..009f8f98d 100644 --- a/src/bcf/record.rs +++ b/src/bcf/record.rs @@ -904,6 +904,11 @@ impl Record { } /// Add/replace an INFO tag. + /// + /// # Arguments + /// * `tag` - the tag to add/replace + /// * `data` - the data to set + /// * `ht` - the HTSLib type to use fn push_info(&mut self, tag: &[u8], data: &[T], ht: u32) -> Result<()> { let tag_c_str = ffi::CString::new(tag).unwrap(); unsafe {