Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/function-examples
/ main
Function
main
discounts/rust/discount/default/src/main.rs:5–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
pub mod cart_lines_discounts_generate_run;
4
5
fn main() {
6
eprintln!(
"Please invoke a named export."
);
7
process::exit(1);
8
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected