add docs for `emulate_foreign_item_by_bame

This commit is contained in:
Christian Poveda
2020-02-19 17:09:12 -05:00
parent 32bc015e35
commit dbef2340b2
+3
View File
@@ -178,6 +178,9 @@ fn emulate_foreign_item(
Ok(None)
}
/// Emulates calling a foreign item using its name, failing if the item is not supported.
/// Returns Ok(false) if after calling this function, the call should return earlier instead of
/// going to the next block.
fn emulate_foreign_item_by_name(
&mut self,
link_name: &str,