You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a problem with const functions. The saturating_* methods all use macro call inside the #[doc], which is not supported by the rust-analyzer.
Problem
The functions
saturating_mul
,saturating_add
,abs
, etc don´t show the examples, however on the Rust docs they have examples for those functions.Seems to be related to
const fn
functions.On VSCode
On Rust docs
rust-analyzer version: v0.3.1730
rustc version: 1.74.0
relevant settings: Using VSCode on Linux
The text was updated successfully, but these errors were encountered: