File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ cfg_if::cfg_if! {
7373 #[ inline]
7474 unsafe fn aligned_malloc( layout: & Layout ) -> * mut u8 {
7575 let mut out = ptr:: null_mut( ) ;
76- // We prefer posix_memalign over aligned_malloc since it is more widely available, and
77- // since with aligned_malloc , implementations are making almost arbitrary choices for
76+ // We prefer posix_memalign over aligned_alloc since it is more widely available, and
77+ // since with aligned_alloc , implementations are making almost arbitrary choices for
7878 // which alignments are "supported", making it hard to use. For instance, some
7979 // implementations require the size to be a multiple of the alignment (wasi emmalloc),
8080 // while others require the alignment to be at least the pointer size (Illumos, macOS).
You can’t perform that action at this time.
0 commit comments