Skip to content

Commit

Permalink
update to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Dec 18, 2024
1 parent 6b6df75 commit 9f0702d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ impl Signature {
self.name.clone()
}

// return name, if not None; or "" if None.
/// return name, if not None; or "" if None.
pub fn name_str(&self) -> String {
self.name().unwrap_or("".into())

Check warning on line 454 in src/core/src/signature.rs

View check run for this annotation

Codecov / codecov/patch

src/core/src/signature.rs#L454

Added line #L454 was not covered by tests
}
Expand Down

0 comments on commit 9f0702d

Please sign in to comment.