There was an error while loading. Please reload this page.
1 parent 2375c4f commit 38d6e69Copy full SHA for 38d6e69
1 file changed
arrow-data/src/data.rs
@@ -1929,7 +1929,13 @@ impl ArrayDataBuilder {
1929
1930
/// Creates an array data, without any validation
1931
///
1932
- /// Note: This is shorthand for `self.skip_validation(true).build().unwrap()`
+ /// Note: This is shorthand for
1933
+ /// ```rust
1934
+ /// # let mut builder = arrow_data::ArrayDataBuilder::new(arrow_schema::DataType::Null);
1935
+ /// # let _ = unsafe {
1936
+ /// builder.skip_validation(true).build().unwrap()
1937
+ /// # };
1938
+ /// ```
1939
1940
/// # Safety
1941
0 commit comments