From 1eb6cd93b20f62664d3e593a2c5f32be2c3856f9 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Fri, 23 Aug 2019 09:00:04 -0400 Subject: [PATCH] Fix documentation typo function -> data object --- cranelift/module/src/module.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cranelift/module/src/module.rs b/cranelift/module/src/module.rs index 33a13b7f9a..d9cb1e00c5 100644 --- a/cranelift/module/src/module.rs +++ b/cranelift/module/src/module.rs @@ -559,7 +559,7 @@ where 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<()> { let compiled = { let info = &self.contents.data_objects[data];