Lines Matching refs:Ok
788 Ok(Vec { buf: RawVec::try_with_capacity_in(capacity, alloc)?, len: 0 })
886 /// Ok(mem) => mem.cast::<u32>().as_ptr(),
1064 /// `Ok(())`. Does nothing if capacity is already sufficient. This method
1088 /// Ok(output)
1101 /// than or equal to `self.len() + additional` if it returns `Ok(())`.
1131 /// Ok(output)
1976 Ok(())
2006 /// Ok(vec)
2008 /// assert_eq!(from_iter_fallible(0..100), Ok(Vec::from_iter(0..100)));
2021 Ok(())
2096 Ok(())
2552 Ok(())
2745 Ok(())
3082 Ok(())
3142 Ok(())
3523 /// assert_eq!(vec![1, 2, 3].try_into(), Ok([1, 2, 3]));
3524 /// assert_eq!(<Vec<i32>>::new().try_into(), Ok([]));
3557 Ok(array)