Require documentation on cretonne public items.
This commit is contained in:
@@ -14,6 +14,7 @@ use std::ascii::AsciiExt;
|
||||
pub struct FunctionName(String);
|
||||
|
||||
impl FunctionName {
|
||||
/// Create new function name equal to `s`.
|
||||
pub fn new<S: Into<String>>(s: S) -> FunctionName {
|
||||
FunctionName(s.into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user