2 ms·
using Foo; using Bar; using Baz; // somewhere else var foo = new Bublicon(...); // where tf does this come from? vs. use std::option::Opt
by formerly_proven 5y ago
using Foo;
using Bar;
using Baz;
// somewhere else
var foo = new Bublicon(...); // where tf does this come from?
vs.
use std::option::Option::{Some, None};
// ...
Some(1234) // clearly std::option::Option::Some which I can then go find easily
- branko_d 5y ago> // where tf does this come from? Just hover over it, and you'll find out. Or Ctrl+click to navigate to its implementation, possibly decompiling from IL if the source is not available. > use std::option::Option:: C# can accomplish similar effect through using alias directive.