Make function get of parameter types public (#3191)

I missed this while making parameter types more flexible.
This commit is contained in:
Bastian Köcher
2019-07-24 18:32:44 +02:00
committed by GitHub
parent 343f4a2a50
commit 1c346d2190
+1 -1
View File
@@ -98,7 +98,7 @@ macro_rules! parameter_types {
() => ();
(IMPL $name:ident , $type:ty , $value:expr) => {
impl $name {
fn get() -> $type {
pub fn get() -> $type {
$value
}
}