PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, July 20, 2022

[FIXED] Why will Rust integer types be deprecated soon?

 July 20, 2022     deprecated, integer, rust, standard-library     No comments   

Issue

I've noticed a deprecation note on the Rust std page next to u8, i8, u16 and so on:

enter image description here

What is going on, and what will the replacement be?


Solution

The types themselves aren't being deprecated, just the modules named e.g. std::i8 which contain constants. For example, std::i8::MIN is being replaced with i8::MIN (docs). The deprecation notice says:

Deprecating in a future Rust version: all constants in this module replaced by associated constants on i8


Answered By - lkolbly
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing