Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vrixyz/untypable
example for https://x.com/Vrixyz/status/1831350042256613568
https://github.com/vrixyz/untypable
Last synced: about 1 month ago
JSON representation
example for https://x.com/Vrixyz/status/1831350042256613568
- Host: GitHub
- URL: https://github.com/vrixyz/untypable
- Owner: Vrixyz
- Created: 2024-09-04T19:21:50.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T15:06:08.000Z (5 months ago)
- Last Synced: 2024-12-17T11:12:22.188Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Rustlang unexported type leak
follow up to [discussion on X](https://x.com/Vrixyz/status/1831350042256613568).
![rustdoc screenshot showing unlinkable type `ShouldNotLeak` as a return type for function `returns_leaked_type`, this type is not highlighted.](rustdoc_unknown_type.png)
## Usage
run `cargo doc --open`, and try to find documentation for the return type of public function `returns_leaked_type()`.
Also, run the example `cargo run --example user`.