1
0
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:
Emil Ernerfeldt
2021-10-02 21:08:00 +02:00
parent f0868c2f07
commit f59abd9684
6 changed files with 13 additions and 13 deletions

View File

@@ -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()
};
}