mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Clean up some macro syntax
This commit is contained in:
@@ -92,7 +92,7 @@ macro_rules! __egui_github_link_file {
|
||||
() => {
|
||||
crate::__egui_github_link_file!("(source code)")
|
||||
};
|
||||
($label:expr) => {
|
||||
($label: expr) => {
|
||||
egui::github_link_file!("https://github.com/emilk/egui/blob/master/", $label).small()
|
||||
};
|
||||
}
|
||||
@@ -104,7 +104,7 @@ macro_rules! __egui_github_link_file_line {
|
||||
() => {
|
||||
crate::__egui_github_link_file_line!("(source code)")
|
||||
};
|
||||
($label:expr) => {
|
||||
($label: expr) => {
|
||||
egui::github_link_file_line!("https://github.com/emilk/egui/blob/master/", $label).small()
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user