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
Rust will document the test function the following code as taking a ThisIsTotallyNotAnOption<String> rather than a Option<String>. This is confusing at first glance because without looking at the source or actually following the link, there is no indication as to what the type actually is.
use std::option::{OptionasThisIsTotallyNotAnOption};pubfntest(o:ThisIsTotallyNotAnOption<String>){}