Style
This commit is contained in:
parent
b53267f406
commit
da98bfba8c
20 changed files with 80 additions and 61 deletions
|
|
@ -11,7 +11,7 @@ pub struct UserSession<'a, U, C> {
|
|||
}
|
||||
|
||||
impl<'a, U, C> UserSession<'a, U, C> {
|
||||
pub fn new(user_name: U, command_runner: &'a C) -> Self {
|
||||
pub const fn new(user_name: U, command_runner: &'a C) -> Self {
|
||||
Self {
|
||||
user_name,
|
||||
command_runner,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue