forked from M-Labs/nac3
core: Rename unsafe functions to unchecked
This is this intended name of the functions.
This commit is contained in:
parent
9d550725b7
commit
84a888758a
|
@ -980,7 +980,7 @@ impl<'ctx> NDArrayDataProxy<'ctx> {
|
||||||
/// # Safety
|
/// # Safety
|
||||||
///
|
///
|
||||||
/// This function should be called with valid indices.
|
/// This function should be called with valid indices.
|
||||||
pub unsafe fn get_unsafe_const(
|
pub unsafe fn get_unchecked_const(
|
||||||
&self,
|
&self,
|
||||||
ctx: &mut CodeGenContext<'ctx, '_>,
|
ctx: &mut CodeGenContext<'ctx, '_>,
|
||||||
generator: &mut dyn CodeGenerator,
|
generator: &mut dyn CodeGenerator,
|
||||||
|
@ -994,7 +994,7 @@ impl<'ctx> NDArrayDataProxy<'ctx> {
|
||||||
/// # Safety
|
/// # Safety
|
||||||
///
|
///
|
||||||
/// This function should be called with valid indices.
|
/// This function should be called with valid indices.
|
||||||
pub unsafe fn get_unsafe(
|
pub unsafe fn get_unchecked(
|
||||||
&self,
|
&self,
|
||||||
ctx: &mut CodeGenContext<'ctx, '_>,
|
ctx: &mut CodeGenContext<'ctx, '_>,
|
||||||
generator: &dyn CodeGenerator,
|
generator: &dyn CodeGenerator,
|
||||||
|
|
Loading…
Reference in New Issue