Skip to content

Commit

Permalink
fix: improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jul 6, 2021
1 parent 24c0944 commit cb0b66c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bcf/record.rs
Expand Up @@ -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<T>(&mut self, tag: &[u8], data: &[T], ht: u32) -> Result<()> {
let tag_c_str = ffi::CString::new(tag).unwrap();
unsafe {
Expand Down

0 comments on commit cb0b66c

Please sign in to comment.