MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / Comment

Class Comment

cranelift/reader/src/testfile.rs:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51/// after the function are tagged as `AnyEntity::Function`.
52#[derive(Clone, PartialEq, Eq, Debug)]
53pub struct Comment<'a> {
54 /// The entity this comment is attached to.
55 /// Comments always follow their entity.
56 pub entity: AnyEntity,
57 /// Text of the comment, including the leading `;`.
58 pub text: &'a str,
59}
60
61/// A cranelift feature in a test file preamble.
62///

Callers 1

scan_commentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected