mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-19 15:41:31 +03:00
Turn normal comment into doc comment
This commit is contained in:
parent
d26c92bea4
commit
94a5eb6be2
@ -4,8 +4,8 @@ pub fn dedup(existing: &[&str], new: &str) -> String {
|
||||
dedup_fmt(existing, new, " ")
|
||||
}
|
||||
|
||||
// dedup makes sure that _new_ is not in _existing_ by adding a number to it.
|
||||
// the number is increased until the name is unique.
|
||||
/// Makes sure that _new_ is not in _existing_ by adding a number to it.
|
||||
/// the number is increased until the name is unique.
|
||||
pub fn dedup_fmt(existing: &[&str], new: &str, separator: &str) -> String {
|
||||
let used_numbers = existing
|
||||
.iter()
|
||||
|
Loading…
Reference in New Issue
Block a user