Added doc test for `fmt`.
Added documentation for `List` enum.