fn find_available_name(&self, mut name: FullName) -> FullName {
        let mut i = 0;
        let orig_item_name = name.item.clone();
        while self.item_exists(&name) {
            i += 1;
            name.item = format!("{}{}", orig_item_name, i);
        }
        name
    }
/// Finds a name like `name` that is not already in use.
///
/// If `name` itself is available, it is returned unchanged.
Finds a name like `name` that is not already in use.
If `name` itself is available, it is returned unchanged.
Finds a name like ` name ` that is not already in use . If ` name ` itself is available it is returned unchanged .
fn find_available_name(&self, mut name: FullName) -> FullName {
        let mut i = 0;
        let orig_item_name = name.item.clone();
        while self.item_exists(&name) {
            i += 1;
            name.item = format!("{}{}", orig_item_name, i);
        }
        name
    }
fn find_available_name ( & self , mut name : FullName ) -> FullName { let mut i = 0 ; let orig_item_name = name . item . clone ( ) ; while self . item_exists ( & name ) { i += 1 ; name . item = format ! ( " " orig_item_name i ) ; } name }
Finds a name like `name` that is not already in use.
Finds a name like ` name ` that is not already in use .
&self
name
FullName
&self
name
FullName