core: Fix failing doctests

This commit is contained in:
Kamil Jarosz 2024-08-31 13:41:36 +02:00 committed by TÖRÖK Attila
parent 0fb5640e5d
commit a80a0ab525
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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