We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 229d5a2 commit 60aad09Copy full SHA for 60aad09
src/bcf/header.rs
@@ -513,8 +513,8 @@ impl HeaderView {
513
/// Create an empty record using this header view.
514
///
515
/// The record can be reused multiple times.
516
- pub fn empty_record(&self) -> crate::bcf::Record {
517
- crate::bcf::Record::new(Rc::new(self.clone()))
+ pub fn empty_record(self: &Rc<Self>) -> crate::bcf::Record {
+ crate::bcf::Record::new(Rc::clone(self))
518
}
519
520
0 commit comments