Skip to content

Commit 920482d

Browse files
author
Deren Vural
committed
Cleaned up lifetime
Updated Property class: - Renamed 'b lifetime to 'a as it was only lifetime Signed-off-by: Deren Vural <[email protected]>
1 parent 7330d4a commit 920482d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/property/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl Property {
155155
* Notes:
156156
*
157157
*/
158-
pub fn get_value<T: for<'b> FromValue<'b> + 'static>(&self, name: &str) -> T {
158+
pub fn get_value<T: for<'a> FromValue<'a> + 'static>(&self, name: &str) -> T {
159159
// Return the value of the property
160160
self.property::<T>(name)
161161
}

0 commit comments

Comments
 (0)