We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bbcea7 commit e36bb6bCopy full SHA for e36bb6b
1 file changed
fabric/examples/rust/src/main.rs
@@ -76,7 +76,7 @@ async fn example_unpack_records() -> anyhow::Result<()> {
76
let resolved = fabric.resolve("alice@bitcoin").await?.expect("handle exists");
77
78
// <doc:unpack-records>
79
- for record in resolved.zone.records.unpack()? {
+ for record in resolved.zone.records.iter()? {
80
match record {
81
ParsedRecord::Txt { key, value } => {
82
println!("txt {}={}", key, value.to_vec().join(", "))
0 commit comments