slaninas on Nostr: No because there is a block expression, see ...
Published at
2022-08-14 15:32:22Event JSON
{
"id": "252c7938f9e363db78e359eb1a1d24837e94db83e128005e2cfe1d1e7df878f8",
"pubkey": "47bae3a008414e24b4d91c8c170f7fce777dedc6780a462d010761dca6482327",
"created_at": 1660491142,
"kind": 1,
"tags": [
[
"e",
"33c8668619636565bd9a72ec4448be679b0c1171066e03744f46289c242a0f23"
],
[
"e",
"0c6f4af3cae5c403400bc1870a361202fc355637ec04fecd5e1a68eea801ee35"
],
[
"p",
"4b12f6132a5ba813bdf55bcbf9d1acfefb02dabf67191dad71b455668c429b36"
],
[
"p",
"42a0825e980b9f97943d2501d99c3a3859d4e68cd6028c02afe58f96ba661a9d"
]
],
"content": "No because there is a block expression, see https://doc.rust-lang.org/reference/expressions/match-expr.html. Btw. it’s using macro to include main.rs into itself (in code fn) so the printed code is actually validated by the compiler. ",
"sig": "6df522b061e7131e9d82f05f6fe51b4fe5fe164bc84a08a732b201ecebb97c3dcbe4384f1a541d2184e8e659af25234fc28a32a9efb2ef02c991897d9d1bc839"
}