MCPcopy Index your code
hub / github.com/RustPython/RustPython / ident_and_promoted_nested

Method ident_and_promoted_nested

crates/derive-impl/src/util.rs:548–550  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

546 Ok(list.nested)
547 }
548 fn ident_and_promoted_nested(&self) -> Result<(&Ident, PunctuatedNestedMeta)> {
549 Ok((self.get_ident().unwrap(), self.promoted_nested()?))
550 }
551
552 fn try_remove_name(&mut self, item_name: &str) -> Result<Option<NestedMeta>> {
553 self.try_meta_mut(|meta| {

Callers 1

from_attrMethod · 0.80

Calls 2

promoted_nestedMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected