diff --git a/core/build_playerglobal/src/lib.rs b/core/build_playerglobal/src/lib.rs index 1d2931252..513760a4e 100644 --- a/core/build_playerglobal/src/lib.rs +++ b/core/build_playerglobal/src/lib.rs @@ -303,7 +303,7 @@ fn strip_metadata(abc: &mut AbcFile) { /// If we don't properly declare 'namespace AS3' in the input to asc.jar, then /// a call like `self.AS3::toXMLString()` will end up getting compiled to weird bytecode like this: /// -/// ``` +/// ```pcode /// getlex Multiname("AS3",[PackageNamespace(""),PrivateNamespace(null,"35"),PackageInternalNs(""),PrivateNamespace(null,"33"),ProtectedNamespace("XML"),StaticProtectedNs("XML")]) /// coerce QName(PackageNamespace(""),"Namespace") /// getproperty RTQName("toXMLString") diff --git a/core/src/avm2/optimize.rs b/core/src/avm2/optimize.rs index 234dbf711..21982eb7c 100644 --- a/core/src/avm2/optimize.rs +++ b/core/src/avm2/optimize.rs @@ -226,7 +226,7 @@ impl<'gc> Stack<'gc> { /// Checks if the method fits the following pattern: /// -/// ``` +/// ```text /// [Debug/DebugFile/DebugLine] zero or more times /// GetLocal { index: 0 } /// [Debug/DebugFile/DebugLine] zero or more times