// Replace parts of a doc comment to prevent confusion on apis that are used by
// multiple resources.
Replace parts of a doc comment to prevent confusion on apis that are used by
multiple resources.
Replace parts of a doc comment to prevent confusion on apis that are used by multiple resources .
pub fn filter_doc_comments(&mut self, resource_identity: ResourceIdentity) {
        let filters = ParserSettings::doc_comment_filters(resource_identity);
        for filter in filters.iter() {
            if self.doc.is_some() {
                let doc = self.doc.clone().unwrap();
                self.doc.replace(doc.replacen(filter.as_str(), "", 1));
            }
        }
    }
pub fn filter_doc_comments ( & mut self , resource_identity : ResourceIdentity ) { let filters = ParserSettings :: doc_comment_filters ( resource_identity ) ; for filter in filters . iter ( ) { if self . doc . is_some ( ) { let doc = self . doc . clone ( ) . unwrap ( ) ; self . doc . replace ( doc . replacen ( filter . as_str ( ) , " " , 1 ) ) ; } } }
Replace parts of a doc comment to prevent confusion on apis that are used by
multiple resources.
Replace parts of a doc comment to prevent confusion on apis that are used by multiple resources .
&mut self
resource_identity
ResourceIdentity