diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-07-22 11:33:03 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-07-22 11:33:03 +0200 |
| commit | 7de26684e894d389d783906516a35bf21bb37382 (patch) | |
| tree | cca9bf8b5be272b08d3862e52d0ed0e4ddd94be7 /tests/rustdoc-gui/src/test_docs | |
| parent | ae7b1c191695f351e69ef7ad32c0897048bba73e (diff) | |
Add regression test for items list size (#128023)
Diffstat (limited to 'tests/rustdoc-gui/src/test_docs')
| -rw-r--r-- | tests/rustdoc-gui/src/test_docs/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/test_docs/lib.rs b/tests/rustdoc-gui/src/test_docs/lib.rs index 244c1b9c5cd..7397992c0ab 100644 --- a/tests/rustdoc-gui/src/test_docs/lib.rs +++ b/tests/rustdoc-gui/src/test_docs/lib.rs @@ -620,3 +620,11 @@ pub mod trait_bounds { pub trait TwoBounds: Sized + Copy {} pub trait ThreeBounds: Sized + Copy + Eq {} } + +pub mod short_docs { + /// mult_vec_num(x: &[f64], y: f64) + pub fn mult_vec_num() {} + + /// subt_vec_num(x: &[f64], y: f64) + pub fn subt_vec_num() {} +} |
