mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
add docs for `emulate_foreign_item_by_bame
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user