diff options
| author | binarycat <binarycat@envs.net> | 2025-04-02 12:39:58 -0500 | 
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-04-02 12:39:58 -0500 | 
| commit | 53ef53aed9cb43e6719f6f31aec82e05f236cd57 (patch) | |
| tree | 5996cc0dcf7a6201a5b2d32258b3ffcf42c68fce /src/librustdoc/html/static/js/rustdoc.d.ts | |
| parent | ae9173d7dd4a31806c950c90dcc331f1508b4d17 (diff) | |
| download | rust-53ef53aed9cb43e6719f6f31aec82e05f236cd57.tar.gz rust-53ef53aed9cb43e6719f6f31aec82e05f236cd57.zip  | |
settings.js: begin typechecking migration
this also makes `changeSetting` more robust in case it somehow gets called before `main.js` has finished loading.
Diffstat (limited to 'src/librustdoc/html/static/js/rustdoc.d.ts')
| -rw-r--r-- | src/librustdoc/html/static/js/rustdoc.d.ts | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/js/rustdoc.d.ts b/src/librustdoc/html/static/js/rustdoc.d.ts index 91a58fab86e..0465866e367 100644 --- a/src/librustdoc/html/static/js/rustdoc.d.ts +++ b/src/librustdoc/html/static/js/rustdoc.d.ts @@ -78,6 +78,8 @@ declare global { pending_implementors?: rustdoc.Implementors, register_type_impls?: function(rustdoc.TypeImpls): void, pending_type_impls?: rustdoc.TypeImpls, + rustdoc_add_line_numbers_to_examples?: function(), + rustdoc_remove_line_numbers_from_examples?: function(), } interface HTMLElement { /** Used by the popover tooltip code. */  | 
