Home
last modified time | relevance | path

Searched defs:ref_option (Results 1 – 1 of 1) sorted by relevance

/third_party/rust/rust/library/core/tests/
Doption.rs400 let ref_option = &Some(&42); in test_option_as_deref() localVariable
403 let ref_option = &Some(String::from("a result")); in test_option_as_deref() localVariable
406 let ref_option = &Some(vec![1, 2, 3, 4, 5]); in test_option_as_deref() localVariable
410 let ref_option: &Option<&i32> = &None; in test_option_as_deref() localVariable
418 let ref_option = &mut Some(&mut val); in test_option_as_deref_mut() localVariable
421 let ref_option = &mut Some(String::from("a result")); in test_option_as_deref_mut() localVariable
424 let ref_option = &mut Some(vec![1, 2, 3, 4, 5]); in test_option_as_deref_mut() localVariable
428 let ref_option: &mut Option<&mut i32> = &mut None; in test_option_as_deref_mut() localVariable