Fix documentation typo
function -> data object
This commit is contained in:
committed by
Benjamin Bouvier
parent
18ecf60ad5
commit
1eb6cd93b2
@@ -559,7 +559,7 @@ where
|
|||||||
Ok(total_size)
|
Ok(total_size)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Define a function, producing the data contents from the given `DataContext`.
|
/// Define a data object, producing the data contents from the given `DataContext`.
|
||||||
pub fn define_data(&mut self, data: DataId, data_ctx: &DataContext) -> ModuleResult<()> {
|
pub fn define_data(&mut self, data: DataId, data_ctx: &DataContext) -> ModuleResult<()> {
|
||||||
let compiled = {
|
let compiled = {
|
||||||
let info = &self.contents.data_objects[data];
|
let info = &self.contents.data_objects[data];
|
||||||
|
|||||||
Reference in New Issue
Block a user