@@ -84,7 +84,7 @@ impl FalkorValue {
8484 }
8585 }
8686
87- /// Returns a reference to the internal [`String`] if this is an FString variant.
87+ /// Returns a reference to the internal [`String`] if this is an String variant.
8888 ///
8989 /// # Returns
9090 /// A reference to the internal [`String`]
@@ -117,7 +117,7 @@ impl FalkorValue {
117117 }
118118 }
119119
120- /// Returns a reference to the internal [`Path`] if this is an FPath variant.
120+ /// Returns a reference to the internal [`Path`] if this is an Path variant.
121121 ///
122122 /// # Returns
123123 /// A reference to the internal [`Path`]
@@ -128,7 +128,7 @@ impl FalkorValue {
128128 }
129129 }
130130
131- /// Returns a reference to the internal [`HashMap`] if this is an FMap variant.
131+ /// Returns a reference to the internal [`HashMap`] if this is an Map variant.
132132 ///
133133 /// # Returns
134134 /// A reference to the internal [`HashMap`]
@@ -199,14 +199,14 @@ impl FalkorValue {
199199 }
200200 }
201201
202- /// Consumes itself and returns the inner [`String`] if this is an FString variant
202+ /// Consumes itself and returns the inner [`String`] if this is an String variant
203203 ///
204204 /// # Returns
205205 /// The inner [`String`]
206206 pub fn into_string ( self ) -> FalkorResult < String > {
207207 match self {
208208 FalkorValue :: String ( string) => Ok ( string) ,
209- _ => Err ( FalkorDBError :: ParsingFString ) ,
209+ _ => Err ( FalkorDBError :: ParsingString ) ,
210210 }
211211 }
212212 /// Consumes itself and returns the inner [`HashMap`] if this is a Map variant
@@ -216,7 +216,7 @@ impl FalkorValue {
216216 pub fn into_map ( self ) -> FalkorResult < HashMap < String , FalkorValue > > {
217217 match self {
218218 FalkorValue :: Map ( map) => Ok ( map) ,
219- _ => Err ( FalkorDBError :: ParsingFMap ) ,
219+ _ => Err ( FalkorDBError :: ParsingMap ) ,
220220 }
221221 }
222222}
0 commit comments