remove unused pub fn
This commit is contained in:
parent
38eecca62c
commit
aff6c741d4
13 changed files with 4 additions and 196 deletions
|
@ -139,13 +139,6 @@ pub fn set_session_globals_then<R>(session_globals: &SessionGlobals, f: impl FnO
|
|||
SESSION_GLOBALS.set(session_globals, f)
|
||||
}
|
||||
|
||||
pub fn create_default_session_if_not_set_then<R, F>(f: F) -> R
|
||||
where
|
||||
F: FnOnce(&SessionGlobals) -> R,
|
||||
{
|
||||
create_session_if_not_set_then(edition::DEFAULT_EDITION, f)
|
||||
}
|
||||
|
||||
pub fn create_session_if_not_set_then<R, F>(edition: Edition, f: F) -> R
|
||||
where
|
||||
F: FnOnce(&SessionGlobals) -> R,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue