Commit 09cfcf96 authored by Rahul Tekawade's avatar Rahul Tekawade Committed by Facebook GitHub Bot

Fix Traits `folly::IsOneOf` document typo

Summary: Fix document typo for `folly::IsOneOf` (see diff)

Reviewed By: yfeldblum

Differential Revision: D23863254

fbshipit-source-id: 02f64a72decab028be832f71e1132dfce7fe5fa9
parent c0938b8a
...@@ -156,6 +156,6 @@ its components are. ...@@ -156,6 +156,6 @@ its components are.
*** ***
`std::is_same<T1, T2>::value` can be used to test if types of T1 and T2 are `std::is_same<T1, T2>::value` can be used to test if types of T1 and T2 are
same. `folly::IsOneOf<T, T1, Ts...>::value` can be used to test if type of T1 same. `folly::IsOneOf<T, T1, Ts...>::value` can be used to test if type of T
matches the type of one of the other template parameter, T1, T2, ...Tn. matches the type of one of the other template parameter, T1, T2, ...Tn.
Recursion is used to implement this type trait. Recursion is used to implement this type trait.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment