MCPcopy Index your code
hub / github.com/PoiScript/orgize / hint

Method hint

src/ast/cloze.rs:80–89  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::Cloze}; let cloze = Org::parse("{{text}}").first_node:: ().unwrap(); assert!(cloze.hint().is_none()); let cloze = Org::parse("{{text}{}@id}").first_node:: ().unwrap(); assert_eq!(cloze.hint().unwrap(), ""); let cloze = Org::parse("{{text}{hint}}").first_node:: ().unwrap(); assert_eq!(cloze.hint().unwrap(), "hint"); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

TokenClass · 0.85

Tested by

no test coverage detected