We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611cd27 commit b56a06aCopy full SHA for b56a06a
1 file changed
src/builder/protocol.rs
@@ -39,7 +39,7 @@ impl Protocol {
39
}
40
41
pub fn load(name: &str, storage: Rc<Storage>) -> Result<Option<Self>, ProtocolBuilderError> {
42
- Ok(storage.get(&name)?)
+ Ok(storage.get(&name, None)?)
43
44
45
pub fn save(&self, storage: Rc<Storage>) -> Result<(), ProtocolBuilderError> {
0 commit comments